H
H
Hellas2016-04-27 05:49:16
linux
Hellas, 2016-04-27 05:49:16

How to access a server from bash in windows 10?

ssh [ip] - connects to the server, but asks for a password. I'm using a .ppk key instead of a password, how do I provide it to bash?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
arakchi, 2016-04-27
@arakchi

If bash is used, then apparently openssh is also installed. He does not understand the ppk format. You can convert ppk to pem via PuTTYgen ( “Conversions”->”Export OpenSSH key” , via graphical tool https://the.earth.li/~sgtatham/putty/latest/x86/pu... visible, or puttygen private-key.ppk -O private-openssh -o private-key.pem via console on *nix systems), then feed ssh to the client, usually in ~/.ssh/id_rsa.
Well, or really use putti.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question