#linux进阶#数据传输
ftp下载数据
#!/bin/bash
HOST=''
USER=''
PASS=''
ftp -i -n $HOST <<EOF
user $USRE $PASS
binary
cd /home
mget file
mput file
quit
EOF
openSSH
ssh-keygen -t rsa
~/.ssh/id_rsa.pub内容加到远程主机~/.ssh/authorized_keys中
本地挂载远程驱动器
sshfs user@remotehost:/home/path /local/mountpoint
卸载远程驱动器
umount /mnt/mountpoint
端口与流量分析
lsof -i
netstat

浙公网安备 33010602011771号