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
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 ...
3
votes
0answers
92 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
195 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
1k 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: ...
3
votes
0answers
807 views

Multiple Reverse SSH Tunnels using Single Port

I am able to accept reverse SSH connections from multiple remote systems on a single server using a port for each connection: Remote A: ssh -fN -R5000:localhost:22 user@server-ip -p22 Remote B: ssh ...
3
votes
0answers
500 views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
2
votes
0answers
24 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
46 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
14 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
41 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
27 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
242 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
27 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
32 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
98 views

SSH Client sporadically hangs for few seconds

On Ubuntu 14.04 LTS when I use SSH client, it hangs sporadically for few seconds every minute or so. no input is lost is just delayed. SSH -V OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan ...
2
votes
0answers
265 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
73 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
55 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
677 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
3k 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
703 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 ...
2
votes
0answers
716 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
371 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
182 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
575 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 ...
2
votes
0answers
328 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 ...
2
votes
0answers
999 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
146 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
242 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
420 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" ...
2
votes
0answers
506 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
339 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
637 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
813 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 ...
2
votes
0answers
425 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
17 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 ...
1
vote
0answers
31 views

How to copy ssh keys on a new VM

Hello guys (and girls) I'm having the following situation: -new CentOS6 VM (created within a Hyper-v failover cluster), joined Windows AD via script I need to bootstrap this new VM in chef server ...
1
vote
0answers
47 views

How to do I create linux VM with ssh public on azure automation

Right now, I am creating Linux VM without public key on azure automation. My aim is to create linux VM with ssh public key on azure automation. How to get ssh public key from "accets" on azure ...
1
vote
0answers
31 views

Apache using all cpu and cause OOM killer

I have an Xen-VPS CentOS 6.5 64 Bit with 2GB memory and 4 GB Ram, I have application with php, in my application lot of pages need to image which generated by php_imagick extension, here is apache ...
1
vote
0answers
48 views

Change SSH key on EC2 Instance

I want to change the SSH key file needed for logging in my Ubuntu EC2 Instance. I know it is not possible to do so directly from the EC2 Management Console so I tried changing it by doing the ...
1
vote
0answers
53 views

SSH (interactive) hangs during full upload bandwidth use

I work daily on SSH from a Linux desktop to an AWS EC2 Amazon Linux server and the connection has performed very reliably for two years, but in the last few days I have seen the SSH command line hang ...
1
vote
0answers
26 views

Send tmux command from remote inside ssh session to local instance

The goal is to send tmux command to the local running tmux from the remote server. not to run to different instances of tmux. Inside tmux we ssh to a server that doesn't run tmux local>tmux ...
1
vote
0answers
34 views

SSH with Putty as proxy server

I have one restricted network with a Windows machine and one less restricted network with a Linux machine. I'm only able to initiate connections from the Windows machine to the Linux machine through ...
1
vote
0answers
73 views

Write Permissions Denied when using sshfs to Mount Remote Directory on Boot

I have two Cent OS 7 servers I am trying to mount a directory from my host server to my client server. I want this to automatically mount on boot. On my host machine (hostmachine.local) I setup a ...
1
vote
0answers
39 views

Interpreting TCP Traceroute results here?

I used to be able to connect via SFTP to a remote server to download files. Our local server is Windows 2008 Enterprise and the remote server is Unix. The local computer and the remote server are ...
1
vote
0answers
29 views

why ssh not route outgoing packages (pptp)?

I have VPS #1 that pptpd and sshuttle installed on it and VPS #2 that have ssh access to it I need to rout trafic from VPS#1 to VPS#2 (by tunnel because pptp not available to vps#2) for users that use ...
1
vote
0answers
18 views

restoring debian user access

I have accidentally set the owner for all files and folders in the /home folder to 'root' (and a lot of other folders also) and now when I ssh into the server as myusername, I get the following error: ...
1
vote
0answers
30 views

How automatically start an outbound SSH connection on a server when an internal client connects to that server

Question How to automatically start an outbound SSH connection on a server when an internal client connects to that server on a specific port, for any given service? (not just sshd on the server, and ...