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
3k views

very slow connection to ssh server from client (but not other servers)

I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I ...
0
votes
1answer
17 views

SSH works but tunneling or SFTP doesn't. Why?

since 2014 I've got a server from SoYouStart, with Centos 7. It worked perfectly, but now I had to install again the OS. Now I'm configuring all the services to work again. I need to connect to the ...
0
votes
1answer
5k views

Able to connect by SSH, but not x2go

I am having trouble connecting to a remote server with X2GO using a DSA key. Connecting works fine over SSH, but when I try to connect with X2GO, it goes immediately to the username/password box and ...
0
votes
1answer
22 views

Using SSH Keys with Kerberos

So there's an issue that we've been having at our company causing me to pull my hair out for the past week: We have hundreds of server boxes (a mix of CentOS6/7, if it matters) that need to quickly ...
0
votes
1answer
16 views

GNU screen detached cannot write to file after ssh logout

I am ssh-ing into a Linux cluster and using GNU screen to run a long-running program in a detached screen. If I remain logged in the program executes perfectly, and this includes writing to a file. ...
0
votes
1answer
3k views

Autostart SSH after reboot

I've installed a debian (6.0) on a server. It currently has SSH installed so I can connect from a remote host. The problem is that when I restart it, it shows the screen to log a user in, and can't ...
0
votes
0answers
42 views

Solaris - SCP without a password not working

I have created a key pair on my source server using ssh-keygen -t rsa accepting all defaults (no passphrase etc) as the root user and then copied the contents to the remote server authorized_keys file ...
0
votes
0answers
7 views

Keepalived multi route and ssh

We have configured keealived to have a floating 1.2.3.4 ip in another network range of the permanent ip 5.6.7.8 of the server. Floating Ip is working very well. Problem comes when Keepalived host (A) ...
0
votes
2answers
3k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
1
vote
3answers
543 views

Forwarding X11 with one hop without X-server installed

problem I want to run X-applications remotely on a machine C from my client A. The only way to connect to this machine is by using machine B (firewall) as a hop: A --> B --> C So far, simple ssh ...
0
votes
0answers
56 views

Why can't my root user log in to ssh anymore?

I recently add a new system user and now my root user can no longer log in via ssh. My /etc/ssh/sshd_config is below. cat /etc/ssh/sshd_config # Package generated configuration file # See the ...
-1
votes
0answers
31 views

SSH key not authorizing, log says 'possible break in attempt'

I've followed the steps that everyone says to set up ssh key authentication. Make the authorized_keys file on the server in .ssh from the .pub file, set permissions on the file and the directory. ...
0
votes
1answer
36 views

Can't ssh, permission denied

I have created new user using useradd USER, but I can't SSH to the server and login with it. I already have another account to which I can SSH easily. Running ssh -v USER@domain.tld is returning this ...
-1
votes
0answers
13 views

SSH over WAN to server in VPN

I have a server that is sometimes in a VPN and sometimes isn't and a client that wants to ssh to it using a public domain name. When the server is in the VPN, sometimes the client can't ssh to it. ...
1
vote
2answers
2k views

Connection closed by IP ( Linux Redhat) while ssh to Amazon server

I am accessing my server on Amazon AWS via ssh and suddenly its no more accessible via ssh. I am getting " Connection closed by 'Live IP Address of Server' " error. I think there are too many ...
0
votes
3answers
23 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm looking for clarification on what I see as a potential problem with EC2 Security Groups. I'm setting up a Security Group for connecting to linux instances. I've created "anywhere" rules for HTTP ...
-1
votes
0answers
15 views

Scheduled execution of files over network [on hold]

forgive my ignorance as I'm a Mac user and have been out of the Windows world for a long time. I am looking for direction on how I might be able to achieve the following: Have a windows computer ...
1
vote
6answers
5k views

sshd shuts down with “No supported key exchange algorithms” error

sshd $ /usr/sbin/sshd -f testconfig -p 22025 -d debug1: sshd version OpenSSH_5.2p1 debug1: private host key: #0 type 0 RSA1 debug1: read PEM private key done: type RSA debug1: private host key: #1 ...
-4
votes
2answers
32 views

Using same port for http/ ssh on two ip's [on hold]

How could use two diferent services using the same port on two diferent IP addresses? Example: IP 1 : 192.168.10.10: Service: Http Server Ports: 443 IP 2 : 192.168.10.11: Service: SSH Server ...
0
votes
4answers
104 views

How can I limit SSH access to my own 2 IP addresses? [on hold]

I am getting > 100 attempted logins per minute in my /var/log/auth.log so a quick search online on how to limit SSH access to a particular IP address lead me to a question and answer on here. However ...
0
votes
3answers
7k views

Using iptables to restrict access to ssh by IP

I would like to allow a certain IP addresses or a whole network (source) to reach my servers with ssh connection and to drop all other unauthorized source IP addresses.
-2
votes
2answers
26 views

Cannot ping / ssh server after installing VirtualBox on CentOs 6.6 [on hold]

Our server was running fine this morning. I installed VirtualBox and rebooted the server. Since rebooting the server I do not recieve a response when pinging the IP address and I cannot connect ...
0
votes
2answers
144 views

Is it possible to have multiple users on FreeDOS? For remote terminal use

Is there a way to support multiple users on FreeDos? I'm asking because I have an old application in clipper that runs on MS-DOS and I'd like to make it available over my LAN so that users could ...
4
votes
6answers
7k views

Can I use SSH key authentication to log into a remote system with a different username?

Suppose I have a remote system named "remotesystem", and a user account "foouser" on that system. I know that on my local system, I can generate an SSH key pair as local user "foouser", put the ...
-4
votes
1answer
30 views

Does Git has built-in SSH server? [on hold]

I'm trying to setup Git's remote SSH server to access this using SSH, but I haven't found any info how to make this. So, does Git has built-in SSH tools to establish such connection to use this ...
1
vote
2answers
37 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 ...
3
votes
1answer
940 views

Git clone from Windows to Windows cannot find the repository

git clone gituser@<server>:myRepo.git doesn't work, fails with the error message: fatal: ''myRepo.git'' does not appear to be a git repository Background: We have a Windows 7 machine set up ...
-2
votes
1answer
20 views

ssh How dose a second user log in with a ssh key file?

I am new to VPS, I have linux centos 6 and have followed instructions here to get started. I have create ssh key for the root user from instructions here I have disabled root log in and created a ...
-2
votes
0answers
13 views

SSH Connect to hosts by using tunnel [migrated]

I want to ssh connect from host A to host C directly with one ssh command. +---+ +---+ +---+ | A | -> | B | -> | C | +---+ +---+ +---+ Host A already have keys ...
-1
votes
2answers
2k views

ssh can't connect after server ip changed

I have a server with ubuntu installed. After I change the network configuration and restart server, ssh client can't connect server any more. But in the server I can use ssh client to connect itself ...
0
votes
2answers
247 views

HOw to make rsa key pairs work in CentOS 6

I am unable to make rsa key pair authentication work on my CentOS 6.2 vps. My understanding is that if rsa authentication is properly configured no password will be requested yet it is still required ...
0
votes
0answers
15 views

Occasionally encounter error “ssh_exchange_identification: read: Connection reset by peer”

When I try to connect a remote Linux server using ssh, sometimes I got the error ssh_exchange_identification: read: Connection reset by peer while other times I can connect to the server successfully. ...
2
votes
2answers
672 views

How to launch a SSH tunnel with upstart

I am not very used to sys admin and recently created an SSH tunnel between two servers (on Ubuntu 12.4) with the following command: ssh -fNg -L 3307:127.0.0.1:3306 tunneluser@xx.xx.xx.xx It worked, ...
1
vote
2answers
76 views

/etc/init.d/ssh restart does not reload the configuration

I've added a chroot configuration to my /etc/ssh/sshd_config. I reload the configuration file using /etc/init.d/ssh reload, then try to connect using an SFTP client, but nothing changes, the user is ...
0
votes
1answer
42 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 ...
6
votes
4answers
3k views

SSH from A through B to C, using private key on B

I'm looking for a simple way to SSH from my local machine, A, through a proxy, B, to a destination host, C. The private key that goes with the public key on C is on B, and I can't put that key on my ...
0
votes
2answers
24 views

Is it possible to have two host identifications for a single domain?

I'm running a docker container that expects SSH traffic on port 22. The host machine also expects SSH traffic, but on port 2222. While SSH-ing on port 2222 works without hickups, my SSH client ...
2
votes
1answer
6k views

How do you configure X11 forwarding over SSH on AIX?

Here is what I've tried. I've edited /etc/ssh/sshd_config on the remote AIX system X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes as well as set $DISPLAY DISPLAY=localhost:10.0 export ...
1
vote
1answer
37 views

How to use two ssh daemons on one server using nginx or haproxy

First of all, I am new to haproxy and nginx. I would like to know if it is possible to use nginx or haproxy to receive all ssh requests, and forward them to two different ssh deamons based on the ...
6
votes
7answers
9k views

How to disable sftp for some users, but keep ssh enabled?

My project needs me to disable sftp for some users, but those users still need to connect over ssh. Does anyone know how to implement this? I've seen suggestions to change the file at ...
5
votes
12answers
6k views

How can you prevent root password change on linux?

I'm setting up a server which other people will have sudo access to via ssh. They can install stuff and make changes as they see fit, however I still need to manage the server, install patches and ...
0
votes
1answer
26 views

SSH: How to get the list of servers that autocomplete when hitting tab after ssh?

When I tab complete after typing ssh, I get a list of servers that I can ssh into. How would I get that same list with a single command? The pseudo command would be: ssh --list-available-servers ...
30
votes
7answers
9k views

Non interactive git clone (ssh fingerprint prompt)

I want to clone a repo in a non-interactive way. When cloning, git asks to confirm host's fingerprint: The authenticity of host 'bitbucket.org (207.223.240.182)' can't be established. RSA key ...
13
votes
2answers
8k views

Is a central location for authorized_keys a good idea?

I'm in the process of configuring a cloud server to run the following stack: Ruby, Passenger, Apache; under Ubuntu 10.04 (Lucid Lynx). In the process of wanting to make the server easier to manage I ...
-6
votes
1answer
28 views

How to enable ssh access without public/private keys [closed]

I want to access my server via terminal like this: ssh username@host.com Password: (enters password) ... I have access to cpanel for this server. There is a section called "SSH access" where I can ...
-1
votes
1answer
42 views

How can I find my Teamviewer ID via SSH? [duplicate]

So I tried doing this command root@server:~# teamviewer --info print version, status, id TeamViewer 10.0.35002 teamviewerd status teamviewerd start/running ...
2
votes
3answers
2k views

What is the longest password for SSH?

What is the longest (how much characters) for SSH password? I like strong and long password but dont know the character limit. Thanks.
1
vote
1answer
23 views

Restrict access to .ssh folder over network shares

I run a small server running Ubuntu Server 14.04 and have just noticed that the .ssh folder in the users home directory is accessible via SMB and NFS. The SMB and NFS are both secured, however I ...
0
votes
0answers
22 views

Putty SSH connection timed out but OVH KVM ok

I dont know why today SSH give me an error but i can ping server and connect to SSH via OVH panel with KVM I reboot my server, load new config in putty, change try alive option to 200, change user ...
0
votes
0answers
10 views

After a while cannot ssh to amazon aws ec2 machine

I've read several similar questions, and checked my username is ubuntu as I'm running ubuntu instance, my pem key is 400 permissions and .ssh folder is .600 ssh -i ~/.ssh/my-key.pem ubuntu@myserver ...