OpenSSH is one of the most popular implementations of SSH used today and available by default in many Linux and Unix-like operating systems.

learn more… | top users | synonyms

2
votes
1answer
19 views

Restricted bash circumvention via SSH command execution

EDIT: After much digging, this is almost certainly a result of /etc/profile.d/... being called before rbash is executed, and therefore not a problem with restricted bash in itself. There seems to be ...
1
vote
0answers
19 views

Cygwin sshd issue

One of the cool features of Cygwin is being able to cd into a remote Windows machine on your same network: [0 user@machine ~]$ cd //remote-machine/c$ [0 user@machine //remote-machine/c$]$ ls ...
0
votes
1answer
24 views

How to configure SSH to connect through an OpenVPN?

I have a desktop at work that I like to keep synchronized with my home computers using Unison, which connects through SSH. I also sometimes like to remote in to the work computer using SSH. My work ...
2
votes
1answer
11 views

Generating SSH keys for GitLab on OS X 10.11

I've got GitLab CE installed and I'm trying to set up an SSH key so I can push my git repos to GitLab, but there's inconsistency with what the documentation says I should be getting and what my ...
0
votes
0answers
17 views

Configuring Bidirectional Host Based Authentication in SSH

I have 3 servers (Ruby, Sapphire, Onyx) that I have been trying to setup passwordless (host based) authentication between for all users. I've configured the machines to use host based authentication ...
0
votes
0answers
24 views

how to restrict sftp only users to specific folder within the chroot directory

I know there is different versions of this question. but I am trying to give each user a folder within chroot directory and he/she should not be able to navigate outside the assigned folder. What I ...
1
vote
0answers
27 views

how to prevent sshd from interpreting remote command as a user

I set up a dedicated ssh key pair for the purpose of forcing a specific command on a remote server. I added the public key to the remote server authorized_keys file along with a command option ...
-1
votes
0answers
11 views

are SSH public keys automatically created and transferred with first contact?

so i just sent up an SSH server on my ubuntu server to transfer files between it and my other machines. now when i connected both ways, RSA public keys were created and stored it automatically. i ...
-1
votes
0answers
16 views

SSH Public Keys always says invalid directory

I had installed OpenSSL in my windows server. I had added the public keys in \home\<<user>>\.ssh\authorized_keys file. When I run the command I am always getting Permission Denied Error. ...
0
votes
1answer
19 views

SSHD taking random port

I had configued OpenSSH in my windows server for port 22. But each time it is taking random port and as the random port is not active, the connection is getting closed. sshd: PID 7148: Connection ...
0
votes
1answer
21 views

Why is my ECDSA fingerprint encoded with MD5 when it is shown as a fingerprint?

In my /etc/ssh folder there are several different SSH keys (which list different algorithms such as MD5 or ECDSA). The one used by default is the ECDSA but when it shows its fingerprint (when I am ...
0
votes
1answer
32 views

Linux not connecting to OpenSSH Server in Windows

I had configured OpenSSH server in Windows. And added the public key inside authorized_keys file <<Users>>\.ssh directory. When I connect from Linux maching using SSH, it is throwing the ...
1
vote
1answer
8 views

Command line for ./configure - Debian/Red Hat packages

I want to configure and compile openssh server from source. Can I check command line how it was configured in current Debian and/or Red Hat packages? I'd rather not lose any features or badly set up ...
1
vote
1answer
101 views

SSH Automatically Disconnects After Login

I'm trying to set up an ssh server using OpenSSH on Windows 10. On one of my computers, I've been able to set up the server and successfully login from the same machine. On the other computer, the ...
1
vote
0answers
59 views

Force OpenSSH server to accept nonexistent usernames?

Can sshd be configured to accept a nonexistent username and log in as a predefined user, such as guest? For example, if I enter ssh nxuser123@localhost, sshd should save "nxuser123" in an environment ...
0
votes
1answer
57 views

How to install secure OpenSSH server on Ubuntu?

I want to install OpenSSH server on Ubuntu. How to do it? I need to do the following: Set up OpenSSH server Set up ssh public-private key pair for user Disable password login Enable root user Set ...
2
votes
0answers
141 views

warning message “kex protocol error: type 7” during scp, rsync or shell work

Lately, I get lots of these errors on my home server. Their occurrence seems proportional to the traffic, so if I am working in a shell on the server I may seem 1-2 a day. But If I start some rsync, ...
0
votes
0answers
30 views

Installation of OpenSSH hangs on each windows system

I am sitting here in a big company with terrible restricted infrastructure. When I execute the openssh installer: http://www.mls-software.com/files/setupssh-7.2p2-1-v1.exe as Administrator on a VM ...
0
votes
0answers
24 views

How do stop the OpenSSH window from continuously prompting me for my passphrase?

I'm using the git bash terminal on Windows 10 to work with repos. When I use a repo where I used SSH to connect to the remote repo, I get an OpenSSH dialog that requests my passphrase with 'Enter ...
1
vote
2answers
95 views

get SSH key fingerprint in (old) hex format on new version of openssh

It seems that openssh has changed the way it displays key fingerprints. I am trying to ssh from a client machine to a server: client: ubuntu 14.04 running OpenSSH 6.6.1 server: FreeBSD running ...
0
votes
0answers
25 views

SSH on wireless NAT - works for LAN, not for WAN

I am trying to set up SSH between a travel laptop and my home server. Currently, both are connected to my home WiFi (which is NAT). I am using port forwarding for SSH (start port = 22, end port = 22......
0
votes
1answer
37 views

Where do i need to put my public rsa key on the server to allow passwordless ssh authentication?

I have been trying to get ssh working without a password on a Linux server. I have been looking at a lot of tutorials, but I have a lack of fundamental understanding of some key concepts. I have an ...
1
vote
0answers
34 views

Implementing chroot directory for sftp users

I am running OpenSSH64 on a Windows 2012 environment. OpenSSH64 is running and I can access the server. I have modified the sshd_config file with no success. I have made the following changes: ...
1
vote
1answer
12 views

How can I get the symmetric encryption key used by SSH?

I'm looking into a Wireshark trace made by myself, and I wanted to see what the client sent to the server and what the server replied in the encrypted application data stream. While I see what method ...
1
vote
1answer
101 views

OpenSSH: Slow typing speed when in pseudo terminal

Updates I've narrowed it down to only occurring on the wireless network at work. From home, I experience no lag/delay It also seems that after "heavy" SSH use and tunneling through one or two ...
0
votes
1answer
39 views

openssh with virtual users and chroot

I'm looking for a way to run a opensshd offering sftp to users as a unprivileged user e.g. on port 8022. This opensshd should take something like a customer passwd file which can include information ...
0
votes
1answer
62 views

Cannot ssh to localhost using key

I have set up an ssh key and want to connect to localhost using key only, without password (note: this is just a test; ultimately I want to connect to an internal git server, where the same problem ...
0
votes
0answers
57 views

SSH error “Connection reset by peer” - no obvious cause

I'm trying to SSH a shared host server and everything has been working fine for over a year, but now without explanation whenever I try to connect to it I get: ssh_exchange_identification: read: ...
0
votes
0answers
160 views

SSH connection to Windows closed automatically using OpenSSH for Windows

I'm using OpenSSH for Windows (http://www.mls-software.com/opensshd.html). The sshd server is running fine on Windows, and I can authenticate myself from localhost as well as a remote Ubuntu computer. ...
0
votes
1answer
56 views

OpenSSH 'Server refused our key' and 'Access denied'

All configuration seems fine but OpenSSH replies with errors: 2048 bit keys was generated, public one put into C:\cygwin64\home\user\.ssh\authorized_keys. When trying to connect using PuTTY to ...
-1
votes
2answers
22 views

Filezilla: Can I use a OpenSSH format key?

Hi I am using Filezilla version 3.17.0 and I'm trying to add a key to a connection in the openssh format. I am quite sure I got this working under Windows, but now I'm under Ubuntu and when I want to ...
1
vote
1answer
672 views

ssh failiur: Offending RSA key in /var/lib/sss/pubconf/known_hosts

I know similar questions have been asked many times, but there's a difference here: Trying to ssh to the server I get: $ ssh cl11lx @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
1
vote
1answer
35 views

Too many failed attempts, SSH is requesting PubKey I didn't set up

I think I, somehow, made too many attempts trying to login to my root@server using ssh. SSH is now asking for a public key authentication, which I have never set up. How do I log back in to my server,...
0
votes
0answers
53 views

Public key authentication on openssh for windows can't open authorized_keys

I'm testing out the openssh stuff for windows and I'm having trouble getting public keys to work. I have followed most of the instructions here and I've generated the necessary keys on my other ...
1
vote
0answers
160 views

Set and restrict home directory win32-openssh on windows for sftp

Installed Win32-OpenSSH on Windows 2008R2 server. Using local users to login etc. Two questions: How do I set the home directory for How do I set the home directory for users? It is currently set to ...
0
votes
0answers
23 views

Cygwin SSH Connection Refused. Used to work

I am trying to SSH to my iDevice (jailbroken) and it used to work. Yet now I get this: $ ssh root@192.168.0.25 -v OpenSSH_7.2p2, OpenSSL 1.0.2g 1 Mar 2016 debug2: resolving "192.168.0.25" port 22 ...
0
votes
1answer
13 views

Making an ssh ControlPath connection act as slave-or-fail (not fallback to ControlMaster)

I'd like to force secondary ssh connection(s) to use an existing ControlMaster connection and fail if the master is not present. With ssh -o ControlPath=somewhere -o ControlMaster=no ... this new ...
0
votes
1answer
48 views

Yet another “ssh agent forwarding not working”

I can ssh from hostA to hostB and from hostA to hostC using keys loaded into ssh-agent without any problems. However, if I do ssh -A hostB from hostA, then try ssh hostC from hostB, public key ...
0
votes
1answer
522 views

OSX 10.11 Bad SSH2 KexAlgorithms '+diffie-hellman-group1-sha1'

I have updated my /etc/ssh/sshd_config file based on the answers provided here - OSX 10.11 enable ssh diffie-hellman-group1-sha1 http://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-...
1
vote
1answer
61 views

Ssh Key Generation Algorithm

Ssh provides more than 1 algorithm for encryption of session data. Is the performance of each different ? If so, which is the best one?
1
vote
1answer
338 views

How to fix SSH error “Write failed: Connection reset by peer” on server side?

I was running a long SSH process remotely on an Ubuntu machine (16.04) for a few hours, and eventually I got: Write failed: Connection reset by peer I was wondering what the cause is. Is it a time ...
0
votes
1answer
29 views

Record the timestamp when Broken Pipe occurs?

When something goes wrong, SSH prints a message like the following: $ ... $ packet_write_wait: Connection to 45.78.157.165: Broken pipe I'd like to get a timestamp with the error to help with ...
0
votes
1answer
110 views

SSH permission denied from Linux to Windows using keys

I am a beginner in hadoop, and I am trying to set-up hadoop cluster in fully distribution mode. My master is windows and my slave machine is Linux running on VM. I have created SSH keys and in both ...
-3
votes
1answer
67 views

Work blocks OpenSSH but not putty [closed]

My place of work has a corporate firewall which blocks openSSH but not putty. I'm running Ubuntu, so it's no problem for me to use putty instead, but I have remote servers mounted using sshfs, which ...
0
votes
1answer
26 views

Once ssh-agent is killed due to power cycle, why am I still allowed to ssh without a password?

I have two linux servers running RHEL. I set up private keys for ssh using ssh-keygen. I also copied the .ssh folder from the user I created to that same user with intentions of using openmpi. I then ...
1
vote
1answer
760 views

How to properly configure Win32-OpenSSH authentiction

I'm using PC without admin privileges and I need to set up SSH server. I've tried mobaSSH and also freeSSHd but both requires admin privileges. Then I've found Win32-OpenSSH which seems that it might ...
1
vote
2answers
165 views

Cannot connect to local SSH server - bad file number

I have an Odroid XU4 with Ubuntu 14.04 server on it. I installed the ssh server with apt-get install openssh-server. I got the local IP with hostname -I, which is 192.168.0.186, I generated a random ...
0
votes
3answers
97 views

SFTP server for Windows with its own users and folders?

anyone knows if there's a SFTP server for Windows, with these features? 1. sftp users db is separate from windows users (preferably a simple text file with user/password pairs or some kind of db with ...
0
votes
0answers
338 views

“Network error: Software caused connection abort” with Windows OpenSSH server

I followed this tutorial on installing an SFTP/SSH server on Windows, but I am having problems trying to connect to it. When using either PuTTY or WinSCP, I get the error "Network error: Software ...
0
votes
1answer
164 views

unable to enable ssh1

First, let me begin by saying that I am aware that SSH1 is totally inferior to SSH2. Now, having said that... I am trying to enable SSH1 and am unable to do so. In /etc/ssh/sshd_config there's this ...