想实现一个功能:ssh到远程服务器,拿一个目录下的文件列表。能否用Paramiko进到服务器后,用os的功能?不行的话,是不是只能执行shell后,自己去做字符串的处理了?新手求教,不胜感激!
认证0级讲师
No, what you can do with paramiko is the same as what you can do with putty or ssh client. You can only use the SHELL provided by the system for operations
No, what you can do with paramiko is the same as what you can do with putty or ssh client. You can only use the SHELL provided by the system for operations