ssh connect
(xiaoan㉿Heart)-[~]
└─$ ssh root@119.28.105.199 255 ⨯
The authenticity of host '119.28.105.199 (119.28.105.199)' can't be established.
ECDSA key fingerprint is SHA256:RWze8I+5T0SMzbnb0UHMBEJUT6x22jlvO2DvDTYRaSE.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '119.28.105.199' (ECDSA) to the list of known hosts.
root@119.28.105.199's password:
Last failed login: Sat May 15 12:51:30 CST 2021 from 172.104.116.159 on ssh:notty
There were 151 failed login attempts since the last successful login.
Last login: Fri May 14 23:02:02 2021 from 27.227.131.174
[root@VM-0-5-centos ~]# ls -l
总用量 96
drwxr-xr-x 2 root root 4096 5月 13 22:28 guoan
-rw-r--r-- 1 root root 4949 5月 13 22:30 guoan66.ovpn
-rw-r--r-- 1 root root 25870 4月 24 17:03 install.sh
-rw-r--r-- 1 root root 4953 5月 13 22:33 libing99.ovpn
-rw-r--r-- 1 root root 23053 5月 13 22:19 openvpn-install.sh
-rw-r--r-- 1 root root 4949 5月 13 22:33 wangdb99.ovpn
-rw-r--r-- 1 root root 4949 5月 13 22:33 wangke99.ovpn
-rw-r--r-- 1 root root 4953 5月 13 22:34 zhangxy9.ovpn
[root@VM-0-5-centos ~]# cd guoan
get file from server
─(xiaoan㉿Heart)-[~/myfile]
└─$ scp -r root@119.28.105.199:/root/guoan66.ovpn/ ~/myfile/ 1 ⨯
root@119.28.105.199's password:
guoan66.ovpn 100% 4949 16.7KB/s 00:00
give file to server
(xiaoan㉿Heart)-[~/myfile]
└─$ sudo vim hello.txt
┌──(xiaoan㉿Heart)-[~/myfile]
└─$ scp -r hello.txt root@119.28.105.199:/root/
root@119.28.105.199's password:
Permission denied, please try again.
root@119.28.105.199's password:
hello.txt 100% 34 0.2KB/s 00:00
┌──(xiaoan㉿Heart)-[~/myfile]
└─$
叨叨几句... NOTHING