Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ssh
- import gnupg
- import pickle
- s = ssh.Connection(host = 'ipaddress', username = 'toolserv', password = 'xxxx')
- gpg = gnupg.GPG(gnupghome="/home/toolserv/.gnupg")
- with open("result1.txt", "r") as my_file:
- signed_data1 = pickle.load(my_file)
- my_file.close()
- print signed_data1
- s.close()
- Traceback (most recent call last):
- File "sshx.py", line 11, in <module>
- with open("result1.txt", "r") as my_file:
- IOError: [Errno 2] No such file or directory: 'result1.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement