SSH Command-Line Configuration: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:SSH Category:Powershell Category:Web Development == Objective == Create an alias for SSH hosts, including `ssh` command line options. == SSH config file...") |
(No difference)
|
Latest revision as of 20:55, 18 March 2015
Objective[edit]
Create an alias for SSH hosts, including ssh command line options.
SSH config file[edit]
Location[edit]
~/.ssh/config (powershell and bash)
Basic settings[edit]
Host littledamien HostName littledamien.com User username
Now, from the command line, all that's necessary is
> ssh littledamien
Common Options[edit]
Portto specify a non-default ssh portIdentityFile(This is a requirement for AWS, for example.)[1]
Notes[edit]
- ↑ ssh_config(5) (Linux man page)