Coggle requires JavaScript to display documents.
SSH
ssh: connect to host 172.16.55.138 port 22: Connection refused
ssh -p52113 client\@172.16.55.138
Permission denied, please try again.
# vim /etc/ssh/sshd_config Port 52113 PermitRootLogin no PermitEmptyPasswords no UseDNS no GSSAPIAuthentication no
# 137 ssh-keygen -t dsa # 生成钥匙和锁 ssh-copy-id -i .ssh/id_dsa.pub "orris@172.16.55.137" # 自己用公钥生成锁 # 137 scp -ip .ssh/id_dsa orris111@172.16.55.136:/home/orris/.ssh/ # 把钥匙交给136
.ssh
ssh-copy-id -i .ssh/id_dsa.pub "-p 52113 orris@172.16.55.138"
.ssh/authorized_keys
for i in {6,8};do ssh-copy-id -i ~/.ssh/id_dsa.pub ssher@172.16.55.13"$i";done
-i
-p
~/.ssh/
AuthorizedKeysFile
for i in $(cat ip_list)
port 22
ssh orris@10.189.60.51
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
ssh-keygen -R 116.62.113.65 # ip地址为原来请求的ip地址 ssh orris@116.62.113.65 # 可以正常ssh了
ssh -p52113 client@172.16.55.138 /sbin/ifconfig
-v
ssh -v orris@116.62.113.65
-t
scp -r ./saber orris@116.62.113.65:/home/orris
scp -r orris@116.62.113.65:/home/orris/dir ./ scp -P52113 client@172.16.55.138:/home/client/client ./ # 指定SSH的端口
:
用户@ip
-P
-r
-o
sftp -oPort=52113 client@172.16.55.138
put ./tmp/a.txt /home/orris/
get ./net ./
.