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)

0
votes
1answer
28 views

ssh session stuck after some time of iddleness

I'm using fedora 19 and bash 4.2.53(1)-release If I leave an ssh connection opened for some minutes and don't do anything with it, the terminal get stuck. Here's netstat's output: tcp 0 ...
2
votes
3answers
79 views

Host key verification failed even though known_hosts is correct

I am running a Debian 7 Wheezy server and are having problems with connecting to other servers over SSH. This problem only occurs while running SSH through crontab, and not otherwise (logged in as the ...
7
votes
1answer
467 views

Copying SSH IDs between servers

Is it good practice to copy SSH IDs a la ssh-copy-id between remote servers in production, so that they can perform various SSH tasks with one another easier? In particular, I'm setting up SSH ...
-3
votes
1answer
34 views

which port is used on nagios check_nrpe, is the ssh connection is must between nagios master and client server [closed]

I have configured the nagios master server and nagios client servers, still after lot of debugging i couldn't achieve the communication btwn these two :( i am getting this generic error CHECK_NRPE: ...
0
votes
1answer
17 views

How to manage access to nodes in a cluster?

I am about to set up a server cluster for our company's web applications. At the beginning there will be 3 hardware servers in Proxmox HA setup in a remote datacenter running about 20-30 VMs all ...
0
votes
0answers
73 views

Can not ssh to openstack instance using floating Ip address?

I've setup openstack using http://docs.openstack.org/developer/devstack/guides/single-machine.html machine has single Ethernet Port Eth0 With ip address 192.168.1.22 and i've created instance which ...
1
vote
1answer
48 views

SSH fails often when contacting VM from remote machine

I have a Windows 8.1 Host in which I installed ubuntu server 15.05 in a virtual machine. I set an SSH server in the guest (ubuntu) and then I create a forwarding rule from the host port 2222 to the ...
1
vote
1answer
88 views

Dropbear equivalent to rsync with ssh proxy command

I am trying to guess the dropbear equivalent to this regular rsync command (using ssh with a proxy) rsync -avz --delete -e "ssh -o 'ProxyCommand ssh user@proxyhost exec nc %h %p 2>/dev/null'" ...
0
votes
1answer
22 views

SSH and SSHFS not completely connecting

I'm trying to connect between an Ubuntu and CentOS and reverse. From both sides I get black screen where I can press enter but nothing happens, not being asked for password. examples: SSH ...
1
vote
1answer
26 views

Adding address to known_hosts command line

I am having trouble adding an IP to known_hosts from command line. I have a mysql backup script that is supposed to upload files to an other server using sftp. The script works fine, but you have to ...
0
votes
0answers
52 views

kdm and ssh detecting different fully qualified domain name when using kerberos authentication

I'm attempting to setup Kerberos login support (Windows AD domain providing the kerberos) for Kubuntu 12.04 Linux workstations at the company I'm at. It's almost completely working but I can't get ...
0
votes
1answer
29 views

Port forwarding between 3 machines

I have 3 machines that are connected as a chain, A,B,C. A-->B-->C A is my machine, B is server, and C is other machine with some services and web server on it. Because of some issues I need ...
1
vote
1answer
26 views

VPN Tunnel Migration

I need to do a VPN tunnel migration from 1 Cisco Asa to another one on 20 remote routers. I wrote a little script that can automaticaly migrate the routers to the new ASA. However, when I run this ...
2
votes
1answer
138 views

A proper way to create a chrooted SSH on CentOS 7 [closed]

There are a lot of tutorials of how to create a chrooted SFTP, but I would like to use SSH, because it is much faster to simply wget, unzip, mysql and mysqldump than tossing around the FTP and ...
0
votes
1answer
27 views

Can you configure per-network SSH settings?

I'm talking about ssh_config(5). I wonder if you can define a config section or file based on the currently connected network. I'm thinking about that scenario where the corporate firewall blocks ...
0
votes
2answers
40 views

ssh connection from linux via windows to server

I have a linux computer and a windows computer which are connected to different networks. I would like to connect from my linux machine to a remote ssh server. From my linux computer I can access ...
0
votes
0answers
42 views

What are the ways to control banners on solaris 10 for scp?

I work with a farm of solaris 10 servers with some inconsistent behaviors in terms of displaying banners/motd. This time, I am trying to do scp from one server to another. Between some servers I get ...
0
votes
1answer
12 views

Openssh in VM authenticate using Pageant on host

Update: It looks like the network design was completely wrong and the auth flow should be the other way round instead. So this question is moot now. Current setup: Linux VM (assume common and most ...
1
vote
1answer
38 views

Rsync over ssh folder depth limit?

i'm working on a server migration and run into the following problem: I'm running rsync to migrate all the data but for some reason there is a folder depth limit... This is done via rsync over ssh ...
-4
votes
1answer
40 views

port 22: connection refused [closed]

I am new to OSX, and I am trying to remotely log onto a computer at my school from home. My friend showed me how to use ssh and I was successfully able to log into the computer while I was working ...
0
votes
0answers
45 views

How to add a domain user to passwd for OpenSSH in Cygwin?

I have OpenSSH installed on a Windows Server machine (package from MLS Software). I want to add some domain user to the passwd file. I do mkpasswd -d -u username, but the program just hangs because ...
0
votes
1answer
35 views

How to ensure ssh via cgroups on centos?

When some cpu-intensive processes are running on the server, chances are that we could not log in to this machine with error 'operation timeout' via ssh command. According to this post answered by ...
0
votes
1answer
19 views

SSH: Login to local pc by key

I got a little problem. I'm using apt-dater to keep different linux-systems updated. Apt-dater uses ssh to login to these systems - there's no problem by doing this. To connect to localhost, the ...
0
votes
0answers
28 views

SSH tunnel is up, but cannot connect to database

I am working on a project where we are using an SSH Tunnel with port forwarding. Our server contains a website which references a database on our customers server. We have established an SSH ...
1
vote
1answer
30 views

SSH Tunnel issues

Our setup is as follows; - 2 tomcat servers hosting sites - 1 load balancer - SSH connection to client server which contains database This approach has worked fine with the exception of one client ...
0
votes
1answer
22 views

RSA Fingerprints on EC2 Server Don't Match Locally Generated Fingerprint

I have an EC2 instance with an elastic IP that hasn't changed in a little while, nor has the ssh key Amazon installed in the main user account used to ssh into the server after instantiation. I ...
1
vote
1answer
62 views

Zabbix ssh needs to force pseudo tty allocation

I am currently trying to configure an item in zabbix to execute a check on a remote server via SSH. When I run the following command on the zabbix box it works sudo -u zabbix ssh -t root@[remote_ip] ...
1
vote
1answer
16 views

Accept only new file uploads over SSH

We want to send files around between some linux hosts via OpenSSH, but we don't want clients to be able to list / retrieve / modify existing files on the server. In other words, it should be an ...
0
votes
0answers
19 views

SSH Connect to remote computer to query database on local server

I'm having real difficulty with an SSH tunnel to a customer server. This is needed as we are developing a site on their behalf, hosted on our server but referencing the database on their server. The ...
-2
votes
1answer
30 views

How can I resolve/route private hosts over an SSH Tunnel?

I'd like to setup an ssh tunnel from a remote location to a private web server on our LAN. The web server on the LAN is using Virtual Hosts and there is some redirection going on. Sometimes a user ...
1
vote
2answers
63 views

pam_limits: Operation not permitted for sshd

Debian 8.0, pam 1.1.8-3.1, sshd 1:6.7p1-5. I'm trying to permanently increase the maximum number of open files. In /etc/pam.d/ I've got: /etc/pam.d# grep pam_limits.so * atd:session required ...
-1
votes
1answer
27 views

Have distributed hosts auto-connect to central jump box for reverse ssh and vnc sessions [closed]

We're going to deploy info screens in various places. They have a browser running and pull the info via HTTP. To reconfigure them, it would be useful if they connected to a central host from where we ...
1
vote
1answer
85 views

Best practice for managing AWS SSH .pem files within team [duplicate]

We are running a number of environments on EC2 using VPC. In each VPC we have a hardened bastion host configured which is used as the initial SSH entry point into the network. To access hosts within ...
0
votes
1answer
34 views

MySQL: Cannot connect to Server via SSH. 'reading initial communication packet', system error: 0

I am running Debian 8.2 and the install is quite fresh. I try to connect to my MySQL server via SSH using Sequel Pro. I always get this error: Lost connection to MySQL server at 'reading initial ...
4
votes
3answers
525 views

SSH: su root or sudo? [duplicate]

What is the better option: Using su to switch to root or enabeling sudo? Without the use of sudo an intruder would need to know the password (or key) of a user allowed to ssh and then also the root ...
-1
votes
1answer
30 views

What does -ssh mean in SSH Tunnel

A previous employee at the company i work for had set up an SSH Tunnel but I am having some difficulty with it. echo y | plink.exe -ssh -R 24011:localhost:1433 connect@testsite1.fern.io My ...
0
votes
0answers
75 views

How to get git repository from Jenkins on Linux using ssh user name and password

I installed Jenkins and started successfully in EngTemp_server which Linux mint. I installed git plugin and restarted Jenkins I created a new project called Devices and for source code management I ...
0
votes
0answers
138 views

PEM_read_PrivateKey failed

I'm trying to use ssh to log in to AWS from OSX Mavericks and having a hell of a time. I enter: ssh -i ~/.ssh/filename.pem ec2-user@ec2-xx-x-xxx-xx.compute-1.amazonaws.com -v And I get this, as ...
0
votes
1answer
53 views

Strange SECCOMP entries for sshd in audit log

I'm seeing strange entries for sshd in my audit logs along the lines of: type=SECCOMP audit(1433519794.902:46): auid=20003 uid=22 gid=22 ses=21 pid=25136 comm="sshd" exe="/usr /sbin/sshd" sig=31 ...
0
votes
0answers
74 views

VPC EC2 Instances can PING each other, but not SSH

I've setup an SSH with multiple subnets. I have an instance in my public subnet (Subnet A) built from an AWS NAT AMI. I have another instance in my private subnet (Subnet B) built from a standard ...
1
vote
1answer
33 views

SSH via Any IP for Specific Username?

I often SSH into a server from home or from work—but when I'm other places, I get this error: ssh_exchange_identification: read: Connection reset by peer After reading around a bit, I've come to ...
0
votes
1answer
29 views

Securing local repository with SSH and chroot

I've got a local Debian repository server in my network and I want my clients to upgrade, update, and install packages from it through SSH. I configured my sources.list so it would look like this : ...
-1
votes
1answer
99 views

Why is scp with compression slower than without?

I needed to transfer a 20 GB KVM vdisk file, storing the root filesystem of a CentOS 6.5 VM, from one lab server to another. The large file size and the fact that I had once compressed such a vdisk ...
0
votes
0answers
40 views

SSH stalled after a while

I am executing some commands over SSH from a linux client (centos 7) toward a server (wind river linux) and for a reason it always stopped ( not completed ). If i executed a command that take short ...
53
votes
1answer
3k views

Can't enter the letter 'e' over ssh [duplicate]

Right now I am experiencing some very, very weird behaviour on a Ubuntu 14.04.2 LTS server I am managing. Connecting to the server over ssh either from cygwin(mintty) or a terminal on a Linux ...
0
votes
2answers
100 views

Mysql, Sequel Pro: access denied, but connecting with terminal is OK

I created a user 'vasya'@'%' with all priveleges on some dbs on a remote server. When I ssh to the server I can mysql -u vasya -p without any problems. However when I try to ssh tunnel via Sequel ...
0
votes
1answer
43 views

Allow certain IP addresses to SSH [closed]

I want to allow only a few IP addresses for making SSH connection. I'm using CentOS 7 with firewalld and OpenSSH SSH client. How can I achieve this?
0
votes
0answers
15 views

Determine if Reverse SSH tunnel is being used

I have a client machine that makes a reverse ssh connection to my ubuntu server. On my server I can see the connection when I run: netstat -nat With the connection open, Users can access the ...
0
votes
1answer
42 views

SSH Tunnel not working

I have a number of SSH tunnels set up between our company's server (hosts website) and our customer's servers (hosts database). For all sites but one the connection is relatively stable however one ...
0
votes
2answers
29 views

Multiple Servers, Multiple ssh Keys, Unique ssh keys for Infrastructure servers

Ok so I've done a bit of googling and haven't come across an answer. We have multiple servers in our environment and around 5 infrastructure servers. Then we have one server that we can ssh to all ...