1. 网卡自动关闭。这个问题出现在,VmWare虚拟机复制上。
(1)重新配置网卡uuid。使用uuidgen命令。问题没解决。
(2)重新生成网卡配置文件:nmcli connection type ethernet ifname ens32。 重新配置解决问题。
2. [git@localhost ~]$ scp ./.ssh/id_rsa.pub git@192.168.137.6:/home/git/.ssh/1.r
git@192.168.137.6's password:
fatal: unrecognized command 'scp -t /home/git/.ssh/1.r'
lost connection
这个原因是对端git用户 不允许这个命令/etc/passwd
git:x:1000:1000::/home/git:/bin/git-shell 改为 git:x:1000:1000::/home/git:/bin/bash