我修改了代码,使其使用sshpass动态提供登录密码,同时将SSH连接到远程服务器。sshpass -p "YOUR_PASSWORD" ssh -o StrictHostKeyChecking=no username@IPAddressCentOS - Installed Successfully
Redhat - Package not found (yumlist available | g
我在亚马逊上创建服务器,并希望通过putty中的SSH连接到它。我连接成功,但无法发送命令。我有错误:sudo: apt-get: command not found
-bash: apt-get: command not found
-bash: root: command not found sudo
usage: sudo [-D level] -h | -