您通常使用SSH来允许用户登录到一个远程主机并执行命令。
You typically use SSH to allow users to log in to a remote host and execute commands.
现在,对于整个执行过程,不再需要运行telnet连接到远程系统,使用您的用户名和密码进行登录,在该系统上运行这些命令,然后注销。
Now, instead of going through the entire process of having to run telnet to connect to the remote system, log in with your username and password, run the command(s) on that system, and then log out.
在监控远程db 2服务器的注册表配置时,该方法将特别方便,无需物理上真正登录每台服务器以显式地使用db2set命令。
This approach will come in especially handy when monitoring the registry configuration of remote db2 servers without having to physically logon to each server to explicitly use the db2set command.
在企业环境中,把sudo命令提交给远程主机最好是作为root用户使用ssh脚本来完成,对于无密码登录,还应该在主机之间交换密钥。
Rolling out sudo commands to remote hosts in an enterprise environment is best done using a SSH script as root, and the keys should have been exchanged between the hosts, for password-less logins.
运行以下命令登录远程机器。
通过将您希望ssh运行的命令添加在登录或者主机信息的后面,您可以运行单个远程命令。
You can run a single remote command by adding the command you want to run to SSH after the login or host information.
例如,如果您运行sshfarfarawayls命令,ssh在远程系统上产生的名为farfaraway的远程Shell是一个登录Shell吗?
For example, if you run the SSH farfaraway ls command, is the remote shell that SSH spawns on the remote system named farfaraway a login shell?
例如,如果您运行sshfarfarawayls命令,ssh在远程系统上产生的名为farfaraway的远程Shell是一个登录Shell吗?
For example, if you run the SSH farfaraway ls command, is the remote shell that SSH spawns on the remote system named farfaraway a login shell?
应用推荐