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
14 views

NAS requires SSH password after power outage/reboot

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
12 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
35 views

Ssh Auto login twice VIA putty.exe – it is possible?

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
22 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
13 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
24 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
23 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 [on hold]

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
44 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
18 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
35 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
66 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
14 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
10 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
70 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
21 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
33 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
42 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
34 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
14 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
84 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
0answers
32 views

How to connect between two Linux machines VIA Linux router machine [closed]

I have three Linux machines that connected as the following: Linux_machine1 --> Route_linux_machine --> Linux_machine2 How to ssh from Linux_machine1 to Linux_machine2 Only VIA ...
0
votes
0answers
24 views

SSH traffic forwarding in Linux kernel [closed]

This is just a question for discussion. I've found that many users usually use SSH only as a tunneling protocol. It is very useful when you are going to mask your network traffic in SSH traffic to ...
0
votes
4answers
96 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
45 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
34 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
132 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
24 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
36 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
40 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
25 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
35 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
71 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
33 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
37 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 ...
2
votes
0answers
28 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: ...
0
votes
1answer
30 views

SSH - ChrootDirectory not working

I am trying to chroot a "test" user (group sftp) to /home/test. I've added the following lines at the end of my sshd_config: Subsystem sftp internal-sftp Match User test ChrootDirectory ...
2
votes
2answers
41 views

Can't SSH, but can TeamViewer [closed]

I would like to SSH into a computer behind a firewall that blocks SSH connections (incoming and outgoing). Amusingly, I can still access the computer using the remote-desktop software TeamViewer. I ...
0
votes
1answer
24 views

SSH login hangs for several minutes

SSH login will hang on Entering interactive session for several minutes. debug3: muxserver_listen: mux listener channel 0 fd 4 debug1: channel 1: new [client-session] debug3: ssh_session2_open: ...
0
votes
1answer
49 views

Is it possible to access Kibana (Elasticsearch) via ssh tunnel?

I am trying to acces kibana from a remote machine through an SSH tunnel: $ ssh -f user@elastichost -L 5601:elastichost:5601 -N My remote browser just timesout waiting for a response. Is there a ...
3
votes
1answer
122 views

AuthorizedKeysFile line commented out but still seems to work

I'm setting up a server on Linode and following their Securing Your Server guide. They recommend setting up ssh key pair authentication. I have already uploaded my public key to server and the key ...
6
votes
2answers
470 views

Using ssh key pair authentication and disabling ssh password authentication - what happens if private key lost?

I'm configuring my first server on Linode and going through their set up tutorials. In their Securing Your Server tutorial, it recommends using ssh key pair authentication and disabling password ...