Skip to content
Discussion options

You must be logged in to vote

Hello,

you are using sftp with -o PubkeyAuthentication=no -o PasswordAuthentication=no.
At the moment SSH-MITM only supports publickey or password authentication.

You can use none authentication, but this was only implemented to check if clients can be forced to login and to use the trivial authentication exploit (https://docs.ssh-mitm.at/user_guide/trivialauth.html)

Depending on your openssh client version you have 2 options. If you are using a recent openssh version you can forward your ssh agent. This can be done with the argument -A - even for scp and sftp.

The second option, which will also work on older openssh clients, where sftp does not support agent forwarding, you can provide c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jubeormk1
Comment options

Answer selected by jubeormk1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants