March 15, 2025
It stands for Secure Shell It is a network protocol that lets you access remote shells and manage remote machines. The data sent and received is encrypted and so it is safe. It uses encryption like RSA by default for its keys.
To install ssh in remote machine
sudo apt update
sudo apt install openssh-server
sudo service ssh start sudo service ssh status ssh username@remote_host ssh -p port_number username@remote_host scp local_file username@remote_host:/path/to/destination scp username@remote_host:/path/to/file local_destination ssh username@remote_host 'command' ssh -L local_port:destination_host:destination_port username@remote_host ssh -R remote_port:destination_host:destination_port username@remote_host