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)

-1
votes
1answer
18 views

Server unexpectedly closed network connection (sftp + putty)

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 ...
0
votes
0answers
14 views

Server unexpectedly closed network connection

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
1answer
16 views

Running remote script via ssh command

I have a script on remote Debian server machine and I want to run a command by invoking: ssh server "find.sh" My find.sh script is in in: /home/user/bin First of all, I ran ssh server "echo ...
0
votes
1answer
10 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
12 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
28 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
27 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
36 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
7 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
21 views

NAS requires SSH password after power outage/reboot [on hold]

I've generated keys and I was able to log in (without manually entering a password) onto a WD MyCloud NAS: ssh sshd@111.222.333.444 But after a power outage, the NAS received a new IP address and ...
0
votes
0answers
17 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 ...
0
votes
2answers
41 views

Ssh Auto login twice VIA putty.exe – it is possible? [on hold]

With the following command I can login automatically to the server: putty.exe -ssh Maihabunash@100.19.1.3 –pw secret123 Is it possible to login twice? for example first I want to login to the ...
1
vote
1answer
19 views

Locked out from SSH, NetBoot can be useful? [on hold]

I am operating on a Server that is on a datacenter. For security reasons I've disabled root access. So yesterday I was configuring a restricted access group on the server and accidentally put the only ...
1
vote
0answers
24 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 ...
0
votes
0answers
14 views

sshfs fails sporadically in ec2

I am running multiple (2-5) Jenkins build slaves in AWS EC2. The master and slaves run Ubuntu 14.04. The slaves scale up and down dynamically. They compile Java/Scala projects build using SBT. To ...
1
vote
1answer
26 views

Windows Server Port forwarding SSH to Telnet for multiple users

I have multiple installations with a specialized database framework (Intersystems Caché) that contains its own Telnet server running on port 23. Although the product does run on Windows Server 2008, ...
0
votes
0answers
28 views

How to set up a secure Git repository?

I followed this tutorial and set up a git repository on an AWS instance. https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server However, I've noticed that I can clone it using git ...
0
votes
0answers
31 views

Can't login to root via SSH [closed]

I had access to my client's site via remote SSH and Control Panel. In the past I was able to log in with ssh root@vps.site.com But after logging out from that session I lost access to that server. ...
1
vote
0answers
46 views

SSH Passwords are working using IP address, but not when using the server name

We recently rebuilt one of our servers using Ubuntu 12.04 LTS and experienced something we haven't seen before. When we attempt to ssh into the box, we are able to ssh into the box if we use the ip ...
0
votes
0answers
20 views

server not respond to browser but ok with ssh or ping

Server has been up and running for 20 days. but since 10:00am this morning its cannot be queried via browser. SSH and ping both ok. In browser I also tried to type IP address directly instead of ...
0
votes
0answers
42 views

How to change the ssh auth method in vagrant, from password to private key?

I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider. I can manually ssh in the Ubuntu guest OS by a private key method in ...
0
votes
0answers
11 views

ssh hanging, but *not* ServerAliveInterval

This is a new problem, but I have no idea what has brought it on. I have two local clients (Windows/Cygwin and Linux/SL6.6, on the same IP address behind NAT), both making ssh connections to the same ...
1
vote
0answers
48 views

ssh: transparent redirect of incoming connections based on host- or username [duplicate]

I have a Linux server with a single, static IPv4 address and several DNS entries pointing to the IP. The server hosts several Docker container, and listens on port 22 for incoming SSH connections. ...
0
votes
0answers
15 views

How to change the ssh host in Vagrantfile [migrated]

I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider. It all went well before I configured the "public_network" in ...
0
votes
1answer
72 views

Why is FileZilla SFTP file transfer max capped at 1.3MiB/sec instead of saturating available bandwidth? rsync and WinSCP are even slower

I'm downloading from a server and downloads are maxing out at 1.3MiB/second with FileZilla but I can start concurrent downloads and they will download at 1.3MiB/second also. So why can't I download ...
0
votes
0answers
15 views

CentOS VPS is possibly rooted, but no tools show anything [duplicate]

I've received a notification from my VPS provider (Afterburst) that my VPS is trying to scan and bruteforce other people's servers. I know that I'm not doing this, and I know that nobody else with ...
3
votes
1answer
82 views

ssh as user runs program with no authentication (neither password nor keys)

I'd like to set up a user on my system (Ubuntu 14.04 x64) such that people can run ssh example@myhost.example.com and see some output from a program without being prompted for a password or having to ...
-1
votes
0answers
12 views

Set SFTP Max Number of Simultaneous Connections (Linux/Ubuntu)

SFTP has serious file transfer speed limitations that can be partially overcome by increasing the number of simultaneous connections. By default, SSH should support 10 MaxSessions and 10 MaxStartups ...
7
votes
1answer
84 views

Are there any security benefits to deploying custom SSH DH groups to client-only systems?

One suggested mitigative strategy against Logjam-related attacks on SSH is to generate custom SSH Diffie-Hellman groups using something like (the below being for OpenSSH) ssh-keygen -G ...
0
votes
1answer
24 views

Gateway Server Jump Bastion Host Local Setup [closed]

I want to ssh to an remote private host using an intermediate (bastion, jump, gateway) server. This command works fine: ssh -t remote-user@remote ssh internal How can I implement this in my ...
0
votes
1answer
37 views

Couldn't setup password-less ssh between google compute centos machines

I am trying to setup password-less ssh between google compute centos 6 instances. I copied the public of server-1 on to '.ssh/authorized_keys' of serer-2. I made sure all the permissions of .ssh ...
0
votes
0answers
44 views

Banned from SSH Centos server but can't find where [SOLVED]

For some reason my ip address is banned from using ssh or sftp. I have no problem connecting to the server using an other ip nor i have problems reaching all other services (like http, teamspeak) with ...
0
votes
1answer
36 views

Cannot find error in iptables firewall configuration

I'm struggling with a firewall problem on my Centos server. I have the following configuration which when I use it with a service iptables restart and I try to ssh to the server with putty, I cannot ...
0
votes
0answers
15 views

How to check if connection is working before load balancer decides which server to use

I am working on a project whereby we deliver a secure site for our customers. We host the sites on two servers behind a load balancer but have port connections (24000-24100) to each database. The ...
0
votes
2answers
85 views

Add multiple SSH keys to a new server

I know I can do the following to copy an SSH key ssh-copy-id user@server.com but when I deploy a new server, I need to authorize multiple SSH keys to it. Is there anyway to make life easier for ...
0
votes
4answers
97 views

Not able to SSH to Ubuntu after reboot

Today we decided that the best course of action for our Ubuntu Server (VPS) would be to restore a back-up after too many settings had be changed to our Geoserver instance. However, after restoring the ...
1
vote
3answers
48 views

ssh and reverse proxy [closed]

I have a server with only one public IP where access is restricted to 443 port only. I have configured an apache reverse proxy for access to https web pages. I have configured https://one.example.com ...
1
vote
2answers
36 views

To generate key for AWS server using ssh-keygen from .pem for PuTTY

AWS gave me a private key in the format of .pem. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use ...
2
votes
2answers
138 views

SSH by key incredibly slow

SSH connecting with key, from my machine suddenly got incredibly slow (~10sec!). It is not a server or DNS problem as far as I can figure out. The problem suddenly appeared after a simple apt-get ...
1
vote
1answer
27 views

netbeans can't connect, other things could

this is a conceptual question I guess, considering I already fixed the issue, but the problem is, I'm not quite sure what the issue is. I was trying to connect to a new VPS I setup, and made an ...
4
votes
1answer
60 views

How to disable ALL authentication in sshd? [closed]

Here's a question that I have found absolutely no answers for: how can you configure sshd so that anybody can freely SSH into the box without password or key authentication? The objective is to allow ...
0
votes
2answers
39 views

ssh not using /etc/hosts to resolve hostnames

This is how my /etc/hosts file looks in /etc/hosts: If I try to connect to one of these machines with ssh: ssh -p 22 ramy@Ramy-MacBook I get an error: ssh: Could not resolve hostname ...
1
vote
0answers
15 views

Transfer control of terminal process to a different emulator

How can I transfer running terminal session between PCs on-the-fly? I mean - I'd like to be able to transfer for example SSH session with running application to another PC lets say laptop, without ...
1
vote
0answers
41 views

How to kill all process on ssh logout? (Kill running Background proccess started with screen etc)

Hi i have a multiuser centos server running. There are for example 3 users (non root) - each of them have their own homedir. SSH Login is allowed (bash). How could it be reached, if a user started ...
0
votes
0answers
28 views

Why would a server's RSA fingerprint change every few seconds?

In the past I've been able to connect to my server via SFTP with no problems, but suddenly yesterday it warned me that the fingerprint for the RSA key sent by the remote host had changed. I've ...
-3
votes
1answer
36 views

Connecting AWS from Windows. Error: Using username “ec2-user”. Server refused our key

I am connecting AWS EC2 using Putty from Windows 8, I followed all steps mentioned on this page of conversion of .pem to .ppk and have loaded .ppk in Putty. Putty Configurations: Host Address: ...
1
vote
2answers
72 views

Can't complete SSH connection after successfully exchanging keys to Ubuntu from some networks

After flying from one country to another, I now can't ssh to several of my Digital Ocean Ubuntu servers. However, I can still log in via console and ssh from one box to another (they are all in the ...
-1
votes
0answers
49 views

SSH Connection is established on port 22, but service is not working [migrated]

I am having this recurrent issue on one of my MySQL Cluster Servers, actually always happens in any random MySQL server of this cluster, on many countries where we have this same configuration. I ...
2
votes
1answer
34 views

Can I SSH into a Raspberry Pi over the internet and edit files? [closed]

I have a Raspberry Pi 2 set up as a web server running apache. I have SSH setup so that I can connect to it on the LAN. I'd like to connect to the Pi remotely so that I can either directly edit the ...
0
votes
0answers
41 views

AWS SSH Session getting closed by Server intermittently

I have connected to the AWS EC2 Ubuntu instance using putty on Windows 7(ppk authentication). Most of the time I'm getting this message on putty: Network error: Software caused connection abort. But ...