[ale] ssh is amazing ...

JD jdp at algoloma.com
Mon Dec 29 11:04:31 EST 2014


Let's get some helpful discussions going.

ssh is one of the few tools that is both more secure AND more convenient.
ssh is enough for
* secure remote access to files via sftp
* secure remote filesystem access via sshfs
* secure remote CLI/shell access to systems with plain ssh
* secure remote desktop access via x2go/freenx (about 2x faster than VNC/RDP)
* secure remote file replication with rsync (ssh is the default rsync protocol)
* secure port forwarding of selected ports
* secure remote editing with vim/gvim and other editors
* pseudo-VPN with sshuttle <-- this may be helpful.

Would love it if folks shared their solution for one of the above situations
using ssh.

Here's mine for remote editing:
$ vim rsync://devsrv/~userid/.bashrc


Try it now, see it work.  gvim works too, as do other, select, editors.

================================================================

Don't forget about the ~/.ssh/config file to make life easier.  An example
stanza (no limit on different stanzas or global options):
# -------------------------
host firewall
  user user5464292
  hostname 172.28.1.200
  # hostname somefunnyname.dyndns.org
  port 62029

# Add more host-aliases and stanzas here
# -------------------------

All ssh-based connections to 'firewall' will look up the information in this
config file and fill it in automatically.  Works for rdiff-backup, rsync, ssh,
sshfs, scp, sftp, and other tools.  username, hostname/IP, port is handled for
us. No more wondering if specifying the port is -p or -P!  No more need to
remember the remote userid or remote IP/hostname. Use the alias (firewall), save
typing, and be happy.



More information about the Ale mailing list