ssh
followed by the IP address:-p
flag. For example:-P
flag if you need to specify the port.sshd_config
file to customize SSH server options. Make sure to edit only the options you are familiar with. A server can become inaccessible due to bad configuration.pwd
command to show the file system path.-a
displays hidden files and entries starting with a dot.-l
shows file details for directory contents. For example, the output includes permissions, ownership, date, etc.-s
lists the size of files, in blocks. Add -h to show the size in a humanly-readable form.cd
command and a name or path of a directory. Flash download mac 10.4.11.cd
without a name or path to return to the user’s home directory.cd
options include:cd .
go to the directory one level higher than your current location.cd -
switch to the previous directory.cd /
go to the root directory.cp
command to copy a file or directory. You’ll need to include the name of the file and the target location.mv
command works in the same manner as the copy command.touch
command allows you to create a new file with any extension.mkdir
Windows xp key generator. command. Key exchange and generation in cryptography. Enter a new directory name or full path in this format:rm
in this format:-r
flag to the rm command.ifconfig
command. Moreover, when you don’t use any options with ifconfig, the output displays only active interfaces.clear
in the shell. This command clears one portion of the screen and shifts up the previous output.reset
command.SSH Option | Description |
-1 | Instructs ssh to use protocol version 1 |
-2 | Instructs ssh to use protocol version 2. |
-4 | Permits only IPv4 addresses. |
-6 | Permits only IPv6 addresses. |
-A | Enables authentication agent connection forwarding. Use this option with caution. |
-a | Disables authentication agent connection forwarding. |
-b bind_address | Use this option on the local host with more than one address to set the source address of the connection. |
-C | Enables data compression for all files. Only to be used with slow connections. |
-c cipher_spec | Use to select a cipher specification. List the values separated by a comma. |
-E log_fileName | Attaches debug logs to log_file instead of standard error. |
-f | Sends ssh to background, even before entering a password or passphrase. |
-g | Permits remote hosts to connect to ports forwarded on a local machine. |
-q | Runs ssh in quiet mode. It suppresses most error or warning messages. |
-V | Displays the version of ssh tool and exits. |
-v | Prints debugging messages for ssh connection. The verbose mode is useful when troubleshooting configuration issues. |
-X | Use this option to enable X11 forwarding. |
-x | Disable X11 forwarding. |