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

Change KexAlgorithms on OpenSSH

I would like to disable 'diffie-hellman-group1-sha1' and 'diffie-hellman-group-exchange-sha1' key exchange algorithms on my OpenSSH. I edited /etc/ssh/sshd_config and added this line: KexAlgorithms…
V1har
  • 7
  • 1
  • 3
-1
votes
1 answer

Ansible SSH passwd authentication successful, but publickey authentication fails

When using ansible, I authenticate using the following parameters: -u bob -k -K -b I get the output I want, but it turns out that Ansible fails publickey authentication on each system. Selected output from /var/log/secure on one of the recipient…
Mike
  • 179
  • 1
  • 1
  • 10
-1
votes
1 answer

How to add "comments" part during SSH Protocol Version Exchange?

I want to set up or configure an OpenSSH server, to pass optional comments during Protocol Version Exchange and observe the client behavior as stated below. RFC format: SSH-protoversion-softwareversion SP comments CR LF By default. I could see the…
Prasad Bonthu
  • 131
  • 2
  • 13
-1
votes
1 answer

HostKeyAlgorithms in centos6.5

Although I mention ssh-dss for HostKeyAlgorithms in /etc/ssh/ssh_config. ssh-rsa key pair can be used to login! HostKeyAlgorithms ssh-dss
Vijay S B
  • 1,251
  • 1
  • 13
  • 24
-1
votes
1 answer

How to launch openssh on windows10 64bit?

I failed to launch openssh on windows10 64bit. After finish the installation, I followed below instructions to setup passwd: 1. Open a command prompt and change to the installation directory (Program Files\OpenSSH is the default). 2. CD into the…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
-1
votes
1 answer

Cannot push my git project to empty repository in Bitbucket

I have a problem in my Bitbucket account, which is cannot push my first git project.. I followed the steps of pushing a new git project: first command line : git remote add origin https://said_bous@bitbucket.org/said_bous/landing-page.git, it…
Said Bousnane
  • 11
  • 2
  • 11
-1
votes
1 answer

Unable to install the openssh-server on ubuntu. sizemismatch error

I am trying to install openssh-server on my Ubuntu-14.04.1. At a point it is throwing error like this. >sudo apt-get update >sudo apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state…
Madhu R
  • 345
  • 1
  • 4
  • 9
-1
votes
1 answer

Change SSH pem file

I want to change my remote server SSH. Currently I login through a .pem file ssh -l ubuntu -i .ssh/myfile.pem XX.XX.XXX.XXX I tried to find how to change that access key but I found only that methor : ssh-keygen -t rsa -b 2048 cp id_rsa.pub…
user2997418
  • 648
  • 1
  • 8
  • 22
-1
votes
1 answer

Post install script: OpenSSH fails

I am currently working on a post install script for servers (mostly for myself, since I know what I need/want), targeting debian 8. But I have issues by make OpenSSH. First of all: Variables: OPENSSL_VERSION="1.1.0e" OPENSSH_VERSION="7.4p1" And…
-1
votes
1 answer

Is there a way to catch the openssh key based authentication failure?

Is there a way to catch the openssh key based authentication failure? I am looking for an option, where some custom "error handling like alarms" to be raised whenever a ssh key based authentication fails for a certain user. I know that the key based…
-1
votes
1 answer

How do I remove Arcfour SSH algorithm from SSH?

I'm receiving a request from a PCI Compliance scan that requires that says "The following weak server-to-client encryption algorithms are supported : arcfour arcfour128 arcfour256 The following weak client-to-server encryption algorithms are…
Mark Goldberg
  • 139
  • 2
  • 12
-1
votes
1 answer

What is the effects of adding “Listen 443” to “sshd_config”

I was following this tutorial tutorial where i added this line Listen 443 to sshd_config without changing anything else, now i can no longer connect to the default 22 port
InsaneBot
  • 2,422
  • 2
  • 19
  • 31
-1
votes
1 answer

What username should I use when configuring OpenSSH?

I've come across this error: $ git fetch ssh://name@gerrit.XXXXX:XXXXX/ xxx && git checkout FETCH_HEAD Unable to negotiate with 192.168.XXX.XXX: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
-1
votes
1 answer

Can't create a SSH session by Keys Auth with openssh, becoming crazy

Here is what I did: client: => generated 2 keys with ssh-keygen -t rsa => sent id_rsa.pub to server (with scp) and put it to ~/.ssh/authorized_keys Server: in /etc/ssh/shd_config: => uncommented AuthorizedKeysFile %h/.ssh/authorized_keys =>…
mric750
  • 183
  • 8
-1
votes
1 answer

OpenSSH Windows - AWS "eb ssh" results in "Warning: Unprotected Key File!"

I'm trying to connect to my AWS Elastic Beanstalk EC2 instance using OpenSSH, which I have downloaded because I'm using Windows. When running eb ssh I am greeted with the message: "Warning: Unprotected Key File! Permissions 0444 for '(key name)' are…