ssh命令

ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine.  
It is intended to provide secure encrypted communications between two untrusted hosts over an insecure network.
X11 connections, arbitrary TCP ports and UNIX-domain sockets can also be forwarded over the secure channel.

个人解读:

(1)ssh是一个远程登录连接工具;

(2)建立的是加密的安全连接

(3)使用X-Windows(X11连接)、任意的TCP端口、UNIX内置socket协议(UNIX-domain sockets),都可以接入安全信道

常用方式:

#远程连接192.168.1.1服务器,以root用户身份登录,从2222端口登录
ssh root@192.168.1.1 -p 2222
#远程连接192.168.1.100以root身份登录,执行svmon -G命令获取内存参数
ssh -l root 192.168.1.100 svmon -G

http://www.jb51.net/article/115461.htm

原文地址:https://www.cnblogs.com/chendeming/p/8951801.html