Skip to content

Does this tool even work with a SSH key with a passphrase? #1038

@pak0s

Description

@pak0s

I cannot find any command that accepts SSH key along with passphrase. Here are the commands I am trying but all of them failing.

sshuttle -r [email protected] 0/0 -vv
.
.
.
Authorized uses only. All activity may be monitored and reported.
                                                                 [email protected]: Permission denied (publickey).
c : fatal: failed to establish ssh session (2)

The following command accepts passphrase but fails miserably.

sshuttle -e 'ssh [email protected] -i key' -r [email protected] 0/0 -vv
. 
.
.
Authorized uses only. All activity may be monitored and reported.
Enter passphrase for key 'key':
                                bash: [email protected]: command not found
                                                                             c : fatal: server died with error code 127
    This error code likely means that we were unable to execute /bin/sh on the remote server. This can happen if /bin/sh does not exist on the server or if you are in a restricted shell that does not allow you to run programs specified with an absolute path. Try rerunning sshuttle with the --python parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions