How do i pass a key file to sshuttle?

6,107 views
Skip to first unread message

stacymi...@gmail.com

unread,
Feb 27, 2017, 11:45:51 AM2/27/17
to sshuttle
All my keys are stored on a USB drive.

 i use "ssh -i sshkey1.pem" to login to my servers.

does sshuttle accept key files and how do i pass the file to it? 

Tony Godshall

unread,
Feb 27, 2017, 12:12:13 PM2/27/17
to stacymi...@gmail.com, sshuttle
-e look at

-e, --ssh-cmd ... the command to use to connect to the remote [ssh]

so try

-e "ssh -i sshkey1.pem"
> --
> You received this message because you are subscribed to the Google Groups
> "sshuttle" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sshuttle+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
--
Best Regards.
This is unedited.
This message came out of me
via a suboptimal keyboard.

Gabriel Filion

unread,
Feb 28, 2017, 5:58:31 PM2/28/17
to sshu...@googlegroups.com
> On Mon, Feb 27, 2017 at 8:45 AM, <stacymi...@gmail.com> wrote:
>> All my keys are stored on a USB drive.
>>
>> i use "ssh -i sshkey1.pem" to login to my servers.
>>
>> does sshuttle accept key files and how do i pass the file to it?

Tony Godshall:
> -e look at
>
> -e, --ssh-cmd ... the command to use to connect to the remote [ssh]
>
> so try
>
> -e "ssh -i sshkey1.pem"

using ~/.ssh/config (see `man ssh_config` for details about what this
file should contain) should also work if you want something that's more
permanent.


signature.asc
Reply all
Reply to author
Forward
0 new messages