Connecting

connecting to barwen.ch

The simple way (from unix)

ssh username@s0.barwen.ch

From windows

Here are some instructions on how to install and configure ssh software for Windows.

When ssh is blocked?

I often find difficulty in connecting to SSH ports when on random networks. Maybe you will to. So the following additional options are available:

Problem: port 22 is blocked

The s0 ssh server also listens on port 2222.

ssh -p 2222 username@s0.barwen.ch

Security Note: you should be a more careful about host keys that you get through that port. If the ssh server is down (even momentarily), then arbitrary barwen.ch
users can run their own servers on that port and intercept your connections. That’s what host keys are designed to protect against. Use them.

I can only make http connections

You can make a CONNECT tunnel into barwen.ch:

ssh -o 'ProxyCommand nc -X connect -x s0.barwen.ch:80 localhost 22' s0.barwen.ch

I can only make http connections, and those connections are forced through a local proxy

You can make multi-hop proxy connections. It gets a bit ugly. See this blog posting.

I can tunnel ipv6 but there are restrictions on ipv4

s0 listens on ipv6. You can force IPv6 connections:

ssh -6 username@s0.barwen.ch

I don’t even have an ssh client!

There’s an experimental shell-in-browser system using shellinabox. To activate it,go to s0.barwen.ch/~benc/cgi-bin/shell/login, sign in with the Google or OpenID account that you want to use.