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
0answers
49 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
20 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
52 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
48 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
68 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
46 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
36 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
37 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
24 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
80 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
17 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
34 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
35 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
122 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
35 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
124 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
54 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
582 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
35 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
119 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
291 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
60 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
108 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
37 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
37 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
125 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
46 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 ...
54
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
196 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
53 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
18 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
67 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 ...
0
votes
0answers
7 views

iptables presale me to ssh access or calling methods remotely [closed]

I have a linux OpenWRT unit and I can't make an ssh connection after running iptables -F. If I iptables -L -n -v, I find several rules that are automatically inserted and it prevents me from doing ...
0
votes
0answers
9 views

Restrict SSHD to PKI for root but not other accounts? [duplicate]

If I set in /etc/ssh/sshd_config: PermitRootLogin no then I cannot login as root using any method at all. Correct? Is there any way to allow root login only using .ssh/authorized_keys? I want to ...
0
votes
1answer
125 views

SSH Connection refused after modifying iptables

Yesterday night I was messing with my iptables doing this specific commands: sudo iptables -F sudo iptables -X sudo iptables -P INPUT DROP sudo iptables -P OUTPUT ACCEPT sudo iptables -P FORWARD DROP ...
1
vote
0answers
159 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 ...
0
votes
0answers
37 views

Issue with SSH on RHEL while monitoring logs from SpectorSoft Server Manager

I have 3 servers running RHEL hosting a number of Java applications where each of them generates a log file which I am monitoring from a Windows-based machine with the use of SpectorSoft Server ...
0
votes
0answers
68 views

How use namespaces and fabric

I am using python and fabric, I have a hypervisor (KVM) defined as follows: env.hypervisor_address = 'hypervisor' # 192.168.0.250 From one VM (in the hypervisor) I want to SSH to other VMs with ...
1
vote
0answers
30 views

SSH Tunnel connection issues

I am having difficulty with an SSH Tunnel which keeps dropping. i have tried with a variety of ports and have checked the event viewer to see if there's any information there but as yet have found ...
-1
votes
1answer
683 views

Server unexpectedly closed network connection (sftp + putty) [closed]

I am running CloudLinux 6.6 with Cpanel/WHM. We had disabled default port 22, but a client required it, so ever since I switched back to port 22, we have experienced "Server unexpectedly closed ...
1
vote
0answers
386 views

Server unexpectedly closed network connection [closed]

I have Godaddy Shared Linux Hosting. I have enabled SSH. When I try to connect with SFTP or SSH, I frequently get this error: Server unexpectedly closed network connection If I keep retrying, I ...
0
votes
2answers
35 views

SSH connection asking for password instead of key

Ok so i'm trying to connect from one server to another using SSH. I have copied across the key from the 'client' machine to the 'server' using ssh-copy-id, it was still coming up with the password ...
0
votes
1answer
52 views

SSH Tunnel Connection keeps dropping

I am developing a site whereby the site connects to a clients server to query the database. A ssh tunnel was created and this approach has worked fine for all sites but one. I'm assuming that because ...
0
votes
1answer
100 views

iptables slow down connections

When I enable iptables (v4/v6) for my server, every connection like ssh, imap, smtp, http, https and so on are slow down so if I try to connect to ssh, it tooks up to 30 (!) seconds. The imap service ...
0
votes
1answer
35 views

Can I safely disable SSH-1 access from my server?

SSH-2 has been out for almost a decade. I know at least that all computers that currently connect to my server use the updated version 2 protocol. With that in mind, is there any benefit (security or ...
0
votes
2answers
149 views

SSH Connection through a Reverse (Remote) SSH Tunnel

This is the setup I have : a Linux box A inside a LAN behind a firewall. a Linux server with a fixed IP address that is accessible from the internet. I want to be able to connect to the Linux box ...
0
votes
0answers
200 views

SSH 'Permission denied' on one host but not on another even though they're the same using the same keys

Both Server A and Server B has the same private keys under /root/.ssh/id_rsa. Both public keys are on the git repo. Both have the same sshd_config and ssh_config. However one gets Permission denied ...
0
votes
0answers
33 views

Monitoring via SSH cause max-file-descriptor notice

We have Solaris 10 servers at our company and we are using an monitoring application which polls the servers via ssh. Every time the polling is done we notice max-file-descriptor kern. notice on the ...