Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal greginnj's Journal: Aliases with ssh

by ScriptedReplay (908196) Alter Relationship on Monday September 05, @12:30PM (#13483657) Hint: use aliases in .ssh/config to make your life easier. Something like:

Host alias1



Hostname hostname

User username

[add extra options like authentication method, X11 forwarding, agent forwarding, private key to use and so on]

then you do scp file.tar.bz2 alias1/path or fish://alias1/some/path (and get a password prompt). Less typing - and works with bash completion too.

One man's constant is another man's variable. -- A.J. Perlis

Working...