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
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
47 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
6 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
95 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
101 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
34 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
51 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
29 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
287 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
204 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
27 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
45 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
72 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
32 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
87 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
114 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
29 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 ...
1
vote
1answer
24 views

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

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
37 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
22 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
79 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, ...
2
votes
2answers
195 views

How to set up a secure Git repository?

I followed this tutorial to set up a git repository on an EC2 instance. http://git-scm.com/book/ch4-4.html. Basically, I add a new git user and include my public key in authorized_keys. After setting ...
1
vote
0answers
65 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
34 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
392 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
26 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
1answer
160 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
92 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 ...
10
votes
1answer
203 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
84 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
80 views

Banned from SSH Centos server but can't find where

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
49 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
40 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
107 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
156 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
57 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
56 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
195 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
120 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
72 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
55 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
22 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
67 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
54 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
64 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: ...