Installation Type the following two command to install both ssh client and server: # sudo apt-get install openssh-server openssh-client Configuration To be frank your server is ready by default. Just test it from your home computer or from same system with command: # ssh localhost OR # ssh user@your-server-ip-address How do I use ssh client? Assuming that your server hostname is userver.mydomain.com and username is vivek, you need to type following command: # ssh vivek@userver.mydomain.com To stop ssh server: # sudo /etc/init.d/ssh stop To start sshs server: # sudo /etc/init.d/ssh start To restart ssh server: # sudo /etc/init.d/ssh restart windows客户端可以使用winscp访问。
ubuntu上面安装ssh服务器
最新推荐文章于 2024-04-05 14:55:06 发布