On Fri, Jan 21, 2011 at 08:44:10AM -0800, Alphazo wrote:
> I barely use password these days to access my SSH servers. I much
> prefer RSA keys so I don't have to memorize long passwords.
sshuttle works perfect for me with SSH keys.
> Does sshuttle support RSA keys rather than passwords?
I don't know of any (commandline) application, which uses ssh as
transport backend, which does not support SSH keys or SSH confguration
via .ssh/config
> Can alternate ports be specified as well ?
Alternate SSH ports should work via .ssh/config.
> It would be nice if it could simply use the servers defined in ssh
> config file found in ~/.ssh/config like:
>
> Host remotegateway
> User alpha
> Hostname remote.gateway.com
> # LocalForward 52340 192.168.0.28:22
> # DynamicForward 2080
> Port 443
> IdentityFile ~/.ssh/id_remote_rsa
>
> For those I simply connect by using "ssh remotegateway"
Should work. Does it not work for you?
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | a...@noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
If your ssh setup is so complicated that you need to specify a
particular ssh key (rather than just using the same ssh key on every
remote machine) then you should just use a .ssh/config and cut your
losses.
Or you could try using ssh-agent.
Avery