Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

5
votes
0answers
108 views

BackupPC using rsync fails with “protocol version mismatch — is your shell clean?”

I just installed BackupPC in a Debian box to use it as backup server. As you know, this software makes use, among others, of rsync. When using the rsync option, it fails. Server: Debian Jessie. ...
5
votes
0answers
2k views

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow ...
4
votes
0answers
23 views

How to set-up google-authenticator and set specific match rules to allow different login rules?

I'm trying to set Google-Authenticator (google 2 factor authentication). The relevant files are: [root@srv01 ~]# cat /etc/pam.d/sshd #%PAM-1.0 auth required pam_google_authenticator.so auth ...
4
votes
0answers
383 views

configure OpenSSH to prefer public key auth, fall back to empty password auth

I would like to configure OpenSSH 6.2p2 for a service account (we'll call it "serviceacct") with an empty password which does the following: First try public key authentication; if it succeeds then ...
3
votes
0answers
157 views

SSH - 1s hang at “Entering interactive session” (Not DNS; possibly SELinux related)

I'm having an issue on CentOS 6.7 where SSH logins are 1s more than any non-6.7 machines on this network (e.g. 7.2, 5.11). Running debugging on the client side showed the hang at "Entering interactive ...
3
votes
0answers
320 views

Openshift SSH permission denied through corporate proxy

am trying to connect local->cntlm->company proxy->rhcloud host. I have the keys uploaded to rhcloud and GitHub. With the current configuration with corkscrew i am able to connect to git via ssh. ...
3
votes
0answers
1k views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
3
votes
0answers
2k views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
2
votes
0answers
35 views

ssh -t -t sudo displays back my password

My problem is about executing sudo over SSH. I have tried various things, but non works. Here is my script: ssh my-host /bin/bash << EOF # some commands... sudo -u my-user -s -- << EOFF ...
2
votes
0answers
50 views

Can't find users logged in with notty via the who command

I was curious if anyone had any ideas why when I run who and who --all, I still cannot see users logged in under notty? See below: [cbennett@lstn ~]$ who --all system boot 2016-04-25 09:...
2
votes
0answers
44 views

AutoSSH occasionally running into: “channel 2: open failed: administratively prohibited: open failed” until tunnel is restarted

I'm running an autossh script using upstart for ssh tunneling / port forwarding to my postgresql database. It that looks like this: # Remote server role: database-master # Remote hostname: srv-08....
2
votes
0answers
123 views

Monitoring failed ssh logins with pam and bash?

I modified /etc/pam.d/common-auth to run a bash script when a login fails or when a login is successful and it works for successful logins but not failed login attempts when trying to ssh. Once I am ...
2
votes
0answers
375 views

Mac OSX - SSHD partially broken after El Capitan Upgrade

I recently upgraded my firm's Mac Mini device to El Capitan from Yosemite, and encountered several issues during the upgrade. I've gotten most of them resolved but one that's still failing is the SSH ...
2
votes
0answers
54 views

Allow ssh when g+w on user's home directory

Is it possible to allow one user to connect via SSH when that user's home directory is g+w? As I understand it, I can allow this if I set StrictModes no in /etc/ssh/sshd_config, but that would mean ...
2
votes
0answers
107 views

Debug slow lan (ssh, nfs) file transfer

I've got two linux boxes attached to a gigabit switch. They both have gigabit NICs, cables are cat7. Testing the network with iperf shows a fast connection but transferring files with rsync, scp, or ...
2
votes
0answers
15 views

Windows directories keeps getting unmounted on two identical Red Hat servers

Was refered here by the kind people at stack overflow. We have a pretty severe problem at my research center. I have, together with IT, set up an infrastructure like this: Users use their laptops at ...
2
votes
0answers
109 views

EC2 SSH Login Temporarily Hangs on “Entering Interactive Session”

I've been researching this for hours now, can't figure out why this is happening. Originally marked it as internet but checked my speeds (37 down, 10 up). I went from California to Oregon, and since ...
2
votes
0answers
52 views

How do I prevent rsync failure from breaking my ability to SSH into remote AWS server?

I'm running into this problem where if my rsync to an Amazon CentOS instance breaks mid-transfer (with a Ctrl+C for example), subsequent logins to the server no longer works. The Server just responds ...
2
votes
0answers
709 views

How to prevent SSH freezes over an openvpn client to client connection

I have the exact same issue as the one described here, but I cannot request clarification from the author, since I am a new user and I cannot post a comment on that, so I am posting a new question (I ...
2
votes
0answers
36 views

Forced to change expired password when using ssh key

I am working in an environment where I have an account on multiple linux machines where accounts and passwords are managed independently (no active directory/LDAP/etc) and passwords expire every 30 ...
2
votes
0answers
43 views

SSH VPN tunneling

I am testing some basics of SSH VPNs on Layer 2 like this: ssh -w 1:1 -o Tunnel=ethernet hostname That works fine, but is there a way to tunnel multiple VLANs over such a SSH Tunnel? I know i could ...
2
votes
0answers
556 views

How to setup automatic SSH-tunnel to remote machine in vagrant

I've created a provisioner script which helps me to create an SSH tunnel to a remote machine from within my vagrant box (Ubuntu 14.04 LTS) every time the box is started. Interesting part of my ...
2
votes
0answers
335 views

LDAP Not working for SSH connections on ubuntu 12.04

Connecting from the client to the server: $ ssh -vvv user@10.0.50.170 OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: ...
2
votes
0answers
102 views

SFTP logging configuration fails with an error (OpenSSH 5.1)

Adding following line to sshd_config Subsystem sftp /usr/libexec/openssh/sftp-server -f LOCAL5 -l INFO When i start sshd service it fails with error "garbage at the end of line : -f" My openssh ...
2
votes
0answers
57 views

Use username + password to authentifikate to svn via ssh

I have a Debian server running SVN version 1.8. Now I want to give secure access to the users via ssh, but without creating all the users as users on the system. So here is basically a solution. But ...
2
votes
0answers
1k views

SSH Negotiation Failing To some sites

I use SSH extensively to administer a number of systems. Everything was working perfectly until a short while ago when I discovered I could not SSH into some servers (but others work perfectly). I ...
2
votes
0answers
4k views

(reverse-) ssh connection “time out during banner exchange”

I have set up a few 100 embedded boxes to contact HQ by opening up reverse ssh tunnels, each under a new port. This is mostly working fine, but today I encountered a problem with using the tunnel ...
2
votes
0answers
824 views

ssh to ILO on a DL380 gives key_verify failed for server_host_key

When I try to do connect to the ILO 4 of a DL380 I get the following error: ssh -vvv ilo@me2_ilo OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/...
2
votes
0answers
275 views

SSH Fails to Disconnect after Interruption

I have a set of issues, all combining to make for one nasty problem. The background: I have a server behind a firewall reverse tunneling using an external VPS (we'll call the server "the server" and ...
2
votes
0answers
834 views

ssh fails through http proxy with corkscrew

I'm trying to SSH to a remote server through an HTTP proxy using corkscrew and the following stanza in ~/.ssh/config: Host target ProxyCommand corkscrew proxy 80 remote.host.ip 443 ~/.ssh/proxyauth ...
2
votes
0answers
480 views

sshd running at 100%

I'm running an Ubuntu/WordPress server on Amazon EC2 which is experiencing problems every 24-48 hours: I get a CPU alarm from EC2, log into the server, and discover sshd is running at 99.9% CPU. This ...
2
votes
0answers
202 views

How do I obtain the ssh public key from my VSphere ESXi 5.1 host hypervisor residing in vcenter with puppet-enterprise cloudprovisioner

I am using the learn puppet 3.1 vm and trying to connect to a host hypervisor. I followed the instructions to create a .fog file under root which includes a yaml hash, and I read that the yaml hash ...
2
votes
0answers
640 views

Configure SSH while using UCARP for failover

I have SSH installed, and UCARP configured to fail over a virtual IP when one of the two boxes goes down. The problem that I'm having is when a VM is running, and the ucarp interface is active (eth0:...
2
votes
0answers
1k views

Gitlab - Cannot: create new project, list team members, add SSH keys or clone / push

I have just installed Gitlab on my Centos 6.4. At first glance everything seems to be working fine but for some reason, I have the following issues...: Add a new project : (Similar issues when ...
2
votes
0answers
149 views

Unable to force passphraseless ssh authentication while port forwarding

I'm completely at a loss as to what is preventing my local machine from authenticating the connection that is being forwarded from the remote server. I've read a ton of the posts on here regarding ...
2
votes
0answers
247 views

KVM on Ubuntu: Port forwarding to a guest VM

I installed kvm and set several guests on a server using vmbuilder. Here is the following configuration : server host1 (xxx.xxx.xxx.xxx) -> guest vm1 (192.168.0.3) -...
2
votes
0answers
455 views

Phing SSH connection to Amazon EC2 fails to authenticate

I'm trying to connect to Amazon EC2 with phing. This is my script. <ssh username="ec2-user" pubkeyfile="C:\Users\asd\Downloads\aws-nr1.public" privkeyfile="C:\Users\asd\...
2
votes
0answers
542 views

Debian squeeze: SSH login works fine, SFTP login returns a Failed password error

I'm currently trying to setup SFTP on debian using openssh. I can still login with all my users using ssh, but as soon as i'm trying to login using an SFTP client like filezilla i'm getting an failed ...
2
votes
0answers
343 views

linode cloud server, symfony and phar

Okay, So I've recently got a linode cloud server running Ubuntu 12.04. I got it configured with the default symfony2.0 installation, but I've got a project that runs on the Symfony2.1 installation.. ...
2
votes
0answers
706 views

SSH reverse tunnel for Windows RDP

Microsoft RDP seems to behave strangely when forwarded via ssh reverse (-R) tunnel. Some products can handle it without a problem (i.e. tunnelier) some fail (libssh2, putty). When connected, the ...
2
votes
0answers
850 views

RTP Streaming with VLC and remote control

I'd like to set up a remotely controlled (through SSH) streaming server with VideoLAN VLC. I managed start the RTP stream through SSH with the command: cvlc v4l2:///dev/video0 --sout #transcode{...
2
votes
0answers
438 views

RDP or SSH connection trough Windows 2008 server VPN hang after a while

I have been experiencing a very strange issue with our VPN setup on Windows Server 2008. That server is running as a Xen Virtual Machine. We use it for two purposes, permit our mobile workers to ...
2
votes
0answers
2k views

SSH to an ubuntu machine using avahi

I have an ubuntu box that I connect to using avahi. Connecting to that box works fine for all services (I regularly use AFP, SSH and SMB on it) but I've noticed that whenever I connect to it from a ...
1
vote
0answers
11 views

Send build artifacts over SSH - could not create directory

I am trying to workout an automation process of pushing changes from jenkins to aws. The problem seems to be that within the GIT repo, i have 2 folders, one is docroot and the other is database. I ...
1
vote
0answers
22 views

Combining cat with knife ssh crashes bash

I'm trying to transfer a ssh key from one node to other using chef's knife ssh combined with the cat command on the key cat ~/.ssh/001.rsa | knife ssh -i ~/.ssh/authkey.rsa 'name:myserver' 'mkdir -p ~...
1
vote
0answers
26 views

Is /var/log/auth.log incomplete a symptom of unauthorized access?

Today I found that /var/log/auth.log file only has records from latest week, and I'm suspecting that I was hacked by using an insecure SSH password, and the attacker deleted access logs to avoid ...
1
vote
0answers
18 views

xdebug remote centos host from mac

I have a server running CentOS7, PHP7.0.7 with php-fpm, and SELinux. I am trying to debug a PHP script running on that server. And I have a Mac machine that runs PHPstorm where I intend to do the ...
1
vote
0answers
25 views

PAM+LDAP no longer working after SLES 10.4->11.4 Upgrade

authentication via LDAP has ceased functioning after we upgraded to SLES 11.4 via recommended method (boot from DVD). Unfortunately with SLES I cannot give you any meaningful log output since neither ...
1
vote
0answers
22 views

libnss-ldapd and Onelogin vLDAP

I'm trying to get Onelogin's new vLDAP service working with libnss-ldapd on an Ubuntu server (14.04). It looks like vLDAP uses authenticated bind per user. I've tried lots of different configurations ...
1
vote
0answers
10 views

Ubuntu Samba ssh login changes after successful login

We have many Ubuntu servers running different flavors, but on some of our 14.04 versions we are having a baffling issue with ssh logons. When a user uses ssh to connect, they are prompted for their ...