Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwn.ssh fails if ~/.ssh/config doesn't exist #4

Closed
Eckankar opened this issue Jun 18, 2013 · 1 comment
Closed

pwn.ssh fails if ~/.ssh/config doesn't exist #4

Eckankar opened this issue Jun 18, 2013 · 1 comment

Comments

@Eckankar
Copy link

Traceback (most recent call last):
  File "./assignment11.py", line 11, in <module>
    s = ssh('server:port', 'user', 'pass')
  File "/home/sebbe/build/pwntools/lib/pwn/ssh.py", line 195, in __init__
    self._connect()
  File "/home/sebbe/build/pwntools/lib/pwn/ssh.py", line 234, in _connect
    conf.parse(open(os.path.expanduser('~/.ssh/config')))
IOError: [Errno 2] No such file or directory: '/home/sebbe/.ssh/config'
@TethysSvensson
Copy link
Contributor

Fixed in #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants