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
17
votes
2 answers

Multiple ssh keys are not working

OS Description: Ubuntu 14.04.3 LTS ssh: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3, OpenSSL 1.0.1f 6 Jan 2014 I am unable to use multiple ssh key for gitlab. The error I am getting is GitLab: The project you were looking for could not be found. fatal: Could…
Yogesh Yadav
  • 4,557
  • 6
  • 34
  • 40
17
votes
3 answers

Cross Compile OpenSSH for ARM

Does anybody know how I can cross compile OpenSSH for ARM? This is what I have done: First I've downloaded Zlib source code, untarred it, built it and installed it using the following command lines: # ./configure --prefix=/usr/local/cross/arm …
arian
  • 181
  • 1
  • 1
  • 4
16
votes
2 answers

Convert OpenSSH ED25519 Private Key Format to PEM format

I have generated a an ED25519 SSH key pair using ssh-keygen -t ed25519 The output of the id_ed25519 file is in OpenSSH format: -----BEGIN OPENSSH PRIVATE KEY----- ... -----END OPENSSH PRIVATE KEY----- I would like to convert it to a PEM file…
Ferit
  • 558
  • 1
  • 5
  • 19
16
votes
2 answers

Should I generate new SSH key pair for every workstation or reuse a single one?

This is a newbie question from a Windows guy but when I work with Git or other software relying on (Open)SSH, should I generate a new SSH key for every workstation and then upload the public key to GitHub / BitBucket etc. or should I be reusing some…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
15
votes
2 answers

"Connection to github.com closed by remote host" when pushing

I have a project where every time I git push to my GitHub account using SSH keys (on Windows), the command line hangs for several minutes, and then I eventually get the error Connection to github.com closed by remote host. I can do git pull or git…
Ben Rubin
  • 6,909
  • 7
  • 35
  • 82
15
votes
9 answers

Directory permissions for Cygwin SSH (Windows 7)

I am a fan of Linux but due to bad Intel wireless drivers in Linux, I had to switch to Windows 7. I have installed Cygwin in Windows and want to configure SSH to remotely connect to my laptop. I searched with Google and found information for…
Boolean
  • 14,266
  • 30
  • 88
  • 129
15
votes
5 answers

ssh with command....Plus the shell

I'd like a command that ssh'es into a machine, runs a command (cd or execute a script or su), and then gives me the shell. Passing a command to ssh seems to always exit. Some examples of what I'm looking for: 'ssh me@machine1 "./executeMyScript &&…
robarson
  • 433
  • 4
  • 12
14
votes
2 answers

SSH protocol v.1 is no longer supported

Trying to scp files to my server like I've done every day for years... got this weird error today: client$ scp filename.file server:/path/to/somewhere/ SSH protocol v.1 is no longer supported client$ echo $? 255 The file does not show up on my…
Grifball
  • 756
  • 1
  • 5
  • 14
14
votes
1 answer

OpenSSH: option named 46AaCfGgKkMNnqsTtVvXxYy

With the 2017 Fall Creators Update, Microsoft added a version of OpenSSH to Windows 10, which got out of beta and is enabled by default in the recent April Update. Today I tried to take it for a spin and saw that its usage page lists an option…
Baksteen
  • 1,235
  • 11
  • 25
14
votes
4 answers

How to resolve 'no matching mac found error' when I try to ssh

The following is the error I am getting: no matching mac found: client hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server…
14
votes
2 answers

How do I check if openSSH is installed on Ubuntu

As the title asks, how can I determine it? Does simply having the ability to use ssh on a Linux machine mean openSSH is installed? I tried ssh -V and that gave me a version number, but does that mean openSSH is installed or is the ssh command coming…
bitscuit
  • 976
  • 1
  • 11
  • 26
14
votes
9 answers

SSH - a way to transfer files without opening a separate SFTP session?

Not really a programming question, but relevant to many programmers... Let's say I have opened an SSH session to another computer. remote:html avalys$ ls welcome.msg index.html readme.txt remote:html avalys$ Is there any command that I can…
avalys
  • 3,662
  • 4
  • 25
  • 22
14
votes
1 answer

Importing OpenSSH RSA Public / Private Key Pair into Apple's Keychain Access

As stated in the title, I would like to import a key pair into Keychain Access. What I have done: Obtaining an RSA public / private key pair by using OpenSSH What I am going to do: Importing the key pair into the "login" keychain of Keychain…
13
votes
2 answers

Xming Display is very slow when using SSH

I am using SSH and Xming to run Simics simulator and connect to some Linux guest machine. I use x11 Tunneling. The x server seems to be very slow and I need to spend a long time to run a single command on the linux guest machine. Do you have any…
Moonwild
  • 171
  • 1
  • 2
  • 9
12
votes
2 answers

Unable to connect to EC2 server with my MacBook

I am unable to connect to EC2 (CentOs) from my MacBook. When I connect it from ubuntu machine, it will be connected. Currently, I got the following the following error: ec2 ssh sign_and_send_pubkey: no mutual signature supported Account locked due…
Deependra Dangal
  • 1,145
  • 1
  • 13
  • 36