Questions tagged [openssh]

OpenSSH is the most widespread and de-facto standard implementation of SSH protocol. Both server and client tools are included.

OpenSSH is the most widespread and de-facto standard implementation of SSH protocol (Secure Shell). It is the default SSH toolset for most *nix systems. The OpenSSH is open source licensed under BSD license.

The OpenSSH suite includes:

  • sshd - SSH deamon
  • sftp-server - SFTP server subsystem (though in current versions of OpenSSH, the SFTP server is built into the sshd. The sftp-server binary is kept for a backwards compatibility)
  • ssh - SSH terminal client
  • sftp - SFTP client
  • scp - SCP client (internally it works as SCP server too)

Other tools included are ssh-add, ssh-agent, ssh-keysign, ssh-keyscan, ssh-keygen and ssh-keysign.

The OpenSSH server (the sshd) is configured using sshd_config files. The client tools are configured using ssh_config file.

1367 questions
77
votes
5 answers

Pageant does not load SSH-2 key generated with GitBash

The implementation of key handling with (Tortoise)Git for Windows confuses me. As far as I understood, you can implement with either ssh.exe (gits own ssh program), where you can then choose an ssh key per host in your ssh_config in the 'faked' home…
atripes
  • 1,683
  • 4
  • 20
  • 23
71
votes
3 answers

Error when using scp command "bash: scp: command not found"

I want to use scp command to copy a local file to remote server, but I get an error message after input the password of user in remote server. ~]$ scp gitadmin.pub git@123.150.207.18: git@123.150.207.18's password: bash: scp: command not found lost…
Rivers Yang
  • 721
  • 1
  • 5
  • 4
69
votes
1 answer

In SSHD Configuration what does "MaxStartups 10:30:60" mean?

Problem Is: Some SFTP connections are failing in customer environment But using sample code if i test with same server no connection is failed. may be in customer envi many parallel sftp connection started at a time. I Want…
Syedsma
  • 1,183
  • 5
  • 17
  • 22
65
votes
5 answers

Ubuntu-ssh - - WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

I'm unable to ssh and rysnc to a remote system. It keeps giving this error message: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now…
Thiyagarajan Varadharaj
  • 10,154
  • 5
  • 21
  • 18
60
votes
4 answers

Create a PEM from a PPK file

So there are plenty of tutorials on how to convert a PEM to a PPK using puttyGen. However my issue is that my windows machine had the only PEM copy and I converted it into a PPK and deleted it. Now I need to figure out how to convert a PPK into a…
CMOS
  • 2,727
  • 8
  • 47
  • 83
57
votes
9 answers

TortoiseGit with openssh key not authenticating using ssh-agent

I'm setting up a git environment on Windows XP (msysGit 1.7.11, TortoiseGit 1.7.14) and trying to achieve following points : ssh connection on a port different than default 22 ssh authentification handled by ssh-agent So I create a ~/.ssh/config…
kraymer
  • 3,254
  • 1
  • 24
  • 32
45
votes
1 answer

Specifying password in .ssh/config file?

Is it possible to specify password inside my .ssh/config file? Something like Host host1 User user1 Pass password All resources I found recommend to use keys instead, but that's not an option for me, I want to use password. If it's not…
graywolf
  • 7,092
  • 7
  • 53
  • 77
42
votes
9 answers

OpenSSH using private key on Windows ("Unprotected private key file" error)

I am attempting to do a simple connection to a SSH server using OpenSSH for Windows using a private key, and am met with this: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! …
Excludos
  • 1,380
  • 1
  • 12
  • 24
38
votes
4 answers

PuTTY configuration equivalent to OpenSSH ProxyCommand

I'm just trying to use PuTTY to get an SSH connection to my servers. These servers allow incoming SSH connection only from another specific server ("MySshProxyingServer" in example below). Using Linux this is no problem with the ssh -W command. In…
veiL
  • 383
  • 1
  • 3
  • 5
36
votes
8 answers

How to convert ed25519 private key to putty ppk?

I want to convert an ed25519 private key (which is generated by ssh-keygen command) to a ppk file. But I got the error. Couldn't load private key (unrecognized cipher name) Can someone help me? tested openssh version: OpenSSH_7.6p1, OpenSSL…
takaomag
  • 1,545
  • 1
  • 16
  • 26
35
votes
5 answers

Windows 10 OpenSSH key invalid format

The recent beta version of OpenSSH on Windows 10 does not accept my openssh formatted private key: The same key works on ssh shipped with git shell from github. Is there a format option for openssh on Windows that I'm missing or is this a bug?
AK_
  • 1,879
  • 4
  • 21
  • 30
31
votes
2 answers

How do I keep SSH connection alive on Windows 10?

I've added the OpenSSH client (Beta) feature on Windows 10 so I can call it by running ssh on the command line. However the terminal windows (and thus the connection) freezes when inactive for too long. I know I would solve this on Linux by editing…
SlowerPhoton
  • 888
  • 1
  • 7
  • 17
30
votes
2 answers

How to determine if I'm in powershell or cmd?

I've been playing with OpenSSH on Windows and it looks like the normal Unix aliases are missing. I'm not sure whether it's starting powershell or cmd when I log in to a Windows machine via SSH. What's the correct way to see the currently running…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
29
votes
2 answers

How to set up an SSH config-file for beginners

First I am fairly new to SSH. From this question I have seen the need and benefit of setting up an SSH config file. While I was doing my research I noticed that there is a lot to know on SSH and I also found out that I have been using SSH keys and…
YulePale
  • 6,688
  • 16
  • 46
  • 95
27
votes
4 answers

OpenSSH on Windows - "XXX Could not save your public key in __PROGRAMDATA__

I am trying to install OpenSSH on a Windows Server (2012 R2 standard) and I have been following the instructions at this locataion: https://www.server-world.info/en/note?os=Windows_Server_2012&p=openssh I ran Powershell as Administrator and all…
Evvy73
  • 271
  • 1
  • 3
  • 4
1
2
3
91 92