I
I
Ilya2020-11-05 16:16:52
linux
Ilya, 2020-11-05 16:16:52

Copying a file from a remote ubuntu while logging in with a key?

Good afternoon.
There is a cloud server on the Yandex cloud. Connection to it goes through rsa key. it runs an openvpn server that generated a file for connecting a client. How to copy this file from this server. Is there any program like winscp that accepts not only a password, but also a key as input?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2020-11-05
@yanvasaby

connection to the server via the ssh protocol, I understand, because rsa is an encryption protocol that has nothing to do with the connection.
then there are many options
sftp scp sshfs etc.
well, do not forget the remote execution of the command , etc. ssh [email protected] 'cat /some/file' > ~/local_file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question