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

 

posted @   chendeming  阅读(199)  评论(0编辑  收藏  举报
编辑推荐:
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
· dotnet 源代码生成器分析器入门
阅读排行:
· ThreeJs-16智慧城市项目(重磅以及未来发展ai)
· .NET 原生驾驭 AI 新基建实战系列(一):向量数据库的应用与畅想
· Browser-use 详细介绍&使用文档
· 软件产品开发中常见的10个问题及处理方法
· Vite CVE-2025-30208 安全漏洞
点击右上角即可分享
微信分享提示