rkey

rkey

Connecting to a remote server using ssh on Arch Linux

Install sshpass
sudo pacman -S sshpass
Using sshpass
sshpass -p 'your password' ssh [username]@[server IP address or domain name] -p [port number]
For example (the following password and IP address are randomly written and may not exist):
sshpass -p 'xsdasdd31342431asfasdsaeafef143e2~' ssh root@111.206.247.80 -p 22
If you connect to a server using ssh and there is no operation on the server for a long time, the connection may drop, and the terminal may appear to be frozen. Just open a new terminal window.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.