xshell

一.官网下载最新版xsehll

二.传输文件

1.可以直接用xftp 传输

2.xshell直接传输   原文:https://jingyan.baidu.com/article/3a2f7c2e27e01b26afd611cc.html

:sudo install lrzsz   //安装 lrzsz
:
/etc/init.d/ssh start
:sudo /etc/init.d/ssh restart //重启ssh:rz
:rz //rz 是上传命令 输入命令后选择文件,会将选择的文件复制到当前Linux活动目录:rz -y
:rz -y //和rz一样,如果有重名文件会覆盖掉
:sz + 文件名.后缀 //下载
Alt+P打开属性框。
Ctrl+Alt+F //启动xftp传输

 二.如果输入命令或使用卡顿;可关闭UseDNS no 

修改文件:/etc/ssh/sshd_config
UseDNS yes --->默认为注释行
UseDNS no --->把注释打开,改为no,然后重启ssh服务即可

 三.重启ssh服务

:/etc/init.d/ssh restart  //重启ssh 服务如不行尝试 sshd

四.linux ssh 配置 :https://i.cnblogs.com/EditPosts.aspx?opt=1

:cd /root  //进入root目录 也可以进入其它用户目录
:ssh_keygen //
ssh-keygen -t rsa -b 4096 创建密匙 路径自选 我用的是 /root/.ssh/id_rsa
:sudo vim /etc/ssh/sshd_config //设置配置文件
sshd_conig配置:
PermitRootLogin yes //yes 未允许root 登录 no 则反之
PasswordAuthentication no //禁止远程用密码登录
RSAAuthentication yes
PubkeyAuthentication yes
:/etc/init.d/ssh restart //重启ssh 服务如不行尝试 sshd




5.其它方法链接linux的方法

windows cmd
:ssh username@IP  //用户名一般用非root username  
githut
: username@IP
原文地址:https://www.cnblogs.com/jiangfeilong/p/10020406.html