diff --git a/guide/english/bash/bash-ssh/index.md b/guide/english/bash/bash-ssh/index.md index 900a83113e..6d5de87855 100644 --- a/guide/english/bash/bash-ssh/index.md +++ b/guide/english/bash/bash-ssh/index.md @@ -1,18 +1,20 @@ --- -title: Bash ssh +title: Bash ssh (Secure SHell) --- ## Bash command: ssh -This command is used **to connect to a remote computer**, for example `ssh 123.456.789.012` will try to establish a connection with that host. The address of the remote computer can be provided using an IP address or, if provided, an identifier. +**Used to securly connect to a remote server** using Diffie-Hellman algorythm for key exchange, ssh replaces the archaic telnet program for remote shell sessions. -If the remote computer requires the user to login, they can use the form `ssh username@remote_address`, which will then prompt them for the user password on a successful connection. +for example `ssh 192.0.2.1` will try to establish a connection with that host. The +address of the remote computer can be provided using an IP address resolvable hostname or FQDN. -It also has command line options which can be found on the SSH website. +If you wish to use a different username then the one initiating the session (i.e. you're using ssh from root but wish to log in as different user to a remote system), the form `ssh username@remote_address` can be used, which will then prompt for the user password on successful connection. -One thing to note, if the server is configured to listen to any port other than `22`, then you have to use `-p` option to specify the port. For example: `ssh -p 2024 123.456.789.012`. - -If the remote computer requires user login, the form `ssh username@remote_address` can be used, which will then prompt for the user password on successful connection. +Basic usage arguments: +- `-p` - use a different port then configured in ssh_config file (usually 22) +- `-u` - pass username outside of hostname URI +- `-i` - use a different location for private key ### More Information: * [Wikipedia](https://en.wikipedia.org/wiki/Secure_Shell)