怎么使用ssh远程连接工具通过**连接linux服务器

这里演示xshell和secureCRT两种远程连接工具,通过**连接linux

Xshell步骤:
有空再补充

secureCRT步骤:
1linux服务器输入
ssh-****** -t rsa //生成一对**(公钥,私钥)
提示Enter file in which to save the key (/root/.ssh/id_rsa):
//rsa私钥安装到.ssh文件夹(如果没有.ssh文件夹需要创建该文件夹)并且会生成公钥id_rsa_pub,按回车确认
Enter passphrase (empty for no passphrase):
//输入**密码
Enter same passphrase again:
//再次输入密码

cd .ssh
cat id_rsa.pub >> authorized_keys //在服务器上安装公钥
chmod 600 authorized_keys //对安装的公钥文件授权
chmod 700 ~/.ssh //对.ssh文件夹授权
vi /etc/ssh/sshd_config //修改sshd配置
RSAAuthentication yes
PubkeyAuthentication yes
PermitRootLogin yes //root用户是否能通过**登录
PasswordAuthentication yes //是否可以通过密码登录
:wq

service sshd restart 重启ssh服务

2将.ssh文件夹的私钥 id_rsa 通过WinSCP工具复制到Windows桌面

3使用SecureRCT创建连接,只勾公钥,选中它,点击属性
怎么使用ssh远程连接工具通过**连接linux服务器
选择桌面的私钥,点击OK
怎么使用ssh远程连接工具通过**连接linux服务器
最后输入用户名和**密码就能使用**登录linux服务器了