Bash: controlling SSH

后端 未结 8 2110
执念已碎
执念已碎 2020-12-03 15:26

I have this bash file, which asks for IP, password, etc. for OpenSSH to a device.

Now, if i use ssh root@ip, i have to enter the password. This is reall

8条回答
  •  不知归路
    2020-12-03 16:18

    Have you considered Paramiko? It's a Python-library for interacting with SSH.

提交回复
热议问题