git配置
git config --global user.name “usrname”
git config --global user.email “usrname@email”
ssh-keygen -C “usrname@email” -t rsa
cd ~/.ssh
cat id_rsa.pub
ssh免密登录
将上述生成的id_rsa.pub拷贝到ssh服务器的~/.ssh/authorized_keys:
ssh-copy-id -i ~/.ssh/id_rsa.pub usrname@服务器IP
sshfs映射远程目录
sshfs usrname@ip:path localpath -o allow_other
linux远程控制其它主机
xfreerdp -u usrname -d domain -x 0 -p pwd -g 1440x820 ip