sshd - OpenSSH SSH daemon

learn more… | top users | synonyms

1
vote
2answers
22 views

sshd keeps spawning child processes

axfelix@shoebox:~$ ps aux | grep sshd root 1182 0.0 0.0 65612 6620 ? Ss Apr28 0:02 /usr/sbin/sshd -D root 1857 1.0 0.0 107080 7052 ? Ss 11:23 0:00 sshd: root ...
1
vote
1answer
49 views

Still being Prompt for Password After enabling Public Keys

When I added my public key into my .ssh/user/authorized_keys file and I saved and restarted my server it gave me this error: initctl: Unable to connect to system bus: Failed to connect to socket ...
1
vote
1answer
266 views

After moving home directory, ssh configuration is not working

I moved my home directory from /home/user to /media/newDrive/home/user. Everything seems to be working at first, except my ssh configuration. I was able to log into this machine from my laptop with ...
1
vote
1answer
53 views

Mitigating CVE-2016-3115 By Disabling X11Forwarding

I want to mitigate CVE-2016-3115. The report from OpenSSH states that the vulnerability exists when X11Forwarding is enabled. It shows as enabled in my /etc/ssh/sshd_config, but I don't know why. ...
5
votes
4answers
26k views

SSH public key authentication doesn't work

I'm having trouble setting up public key authentication for an SSH server on Ubuntu Server 12.04 (A) for authentication from an Ubuntu Server 13.04 (B). What I'm doing now (I'm trying to follow the ...
0
votes
1answer
3k views

sshd: unrecognized service error

In my Ubuntu 12.04 box, my MaxStartups was like this earlier: grep MaxStartups /etc/ssh/sshd_config #MaxStartups 10:30:60 I increased it to 100 and below is the result now: grep MaxStartups ...
8
votes
5answers
54k views

SSH Refusing Connection

I am having an issue with SSH. ssh: connect to host 192.168.1.7 port 22: Connection refused I get the above error whenever I try to connect my desktop with another desktop using SSH, but I'm able ...
4
votes
4answers
12k views

tail: inotify cannot be used, reverting to polling: Too many open files

When I try to tail -f catalina.out, I get the error: tail: inotify cannot be used, reverting to polling: Too many open files I tried the answer in this post: Too many open files - how to find the ...
1
vote
1answer
38 views

Format of ipv6 address in hosts.allow for sshd

I'm trying to allow access to a user via ssh who has an IPv6 address. I want to assign the address in the hosts.allow file I have other users with IPv4 addresses working fine but it seems I have a ...
0
votes
0answers
52 views

SSH client is not working on ubuntu 15.10

SSH client showing error $ssh user@IP address ssh: connect to host 53.37.119.147 port 22: Connection timed out After checking the SSH status it shows the error $ sudo service ssh status ● ...
17
votes
4answers
33k views

How do I force SSH to only allow uses with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the ...
52
votes
3answers
109k views

What does 'without password' mean in sshd_config file?

I just installed Ubuntu 14.04 on my server and I was setting up all my config files when I came across this in my sshd_config file: # Authentication: LoginGraceTime 120 PermitRootLogin ...
18
votes
7answers
25k views

How do I disable SSHD from starting automatically?

After installing openssh-server, the server start every time I boot. If I want it to be manual what do I need to do? In version 0.6.7+ of upstart I would add a "manual" stanza to the job file. 10.04 ...
16
votes
2answers
28k views

Unable to start sshd

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running sudo apt-get remove openssh-client openssh-server and sudo apt-get ...
0
votes
1answer
113 views

How to detect x2go idle sessions?

Using who -u and w commands, we can find out which ssh sessions are idle for how many time-period. But these commands don't capture x2go sessions; x2go works over ssh though. I am looking an ...
1
vote
1answer
142 views

Ubuntu 14.04 not showing login info - motd

I have a server ubuntu 14.04.03 setup inside a data-center and one on a virtual machine. Unfortunatelly the one in the data-center only shows this info after login: ssh fx1 Welcome to Ubuntu 14.04.3 ...
0
votes
1answer
58 views

installation of sshd in Ubuntu 14.04 [duplicate]

I am trying to install sshd on my Ubuntu system but I am unable to do so. I tried below things. sudo apt-get install openssh but I received below error. When I am checking with which command for ...
4
votes
2answers
5k views

ssh refusing all connections after upgrade to 11.10

I upgraded from 11.04 to 11.10 and upon completion found that I could no longer ssh into other computers that I routinely do so. There are several things I've checked: Kerberos authentication is ...
0
votes
0answers
156 views

How to Start SSH Daemon in emergency mode - 15.04?

My Ubuntu 15.04 server keeps booting into emergency mode, but my monitor has given up the ghost so I can only SSH into the server. Is there a way I can get Ubuntu to auto load the SSH daemon in ...
-1
votes
1answer
53 views

Webmin and sshlogin

In webmin interface you can chose --> Others --> SSh login here is the problem. The Webmin wants to login at my sshport 222 (local) i have redirected this port from outside to 22200 throught my ...
0
votes
2answers
63 views

Unable to connect via SSH from my PC

I am having problems to connect a Linose server via SSH from my ubuntu console. I can connect from other PC's to the same server. When I run: $ sudo apt-get install openssh-server ssh stop/waiting ...
1
vote
4answers
61 views

sshd_config failure, is there a fallback?

So.. I decided to act like a complete moron and changed the Port to 81234 (which i now realize is higher than 65535), thus I can not login to my SSH anymore. Is there any kind of fallback or default ...
3
votes
2answers
1k views

How to disable autostart of SSHD in Ubuntu 15.04

In older versions of Ubuntu I commented out the "start on ..." line in /etc/init/ssh.conf. This worked well, but not in Ubuntu 15.04.
6
votes
2answers
36k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
0
votes
0answers
133 views

ssh connection: trigger event/invoke shell script at predefines intervals

On the server side I am trying to achieve something like : after x hours of a user being logged in via ssh I would like to execute a shell script. And I want this time to be configurable per user ...
2
votes
2answers
9k views

sshd won't stop/start properly

I am running ubuntu 13.10 (fresh install). I have installed openssh-server. During the process of trying to troubleshoot a problem with logging in via ssh from another linux system (also running ...
1
vote
1answer
291 views

sshd: Could not load host key

Running /usr/sbin/sshd produces the following results: Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Could not load host key: ...
0
votes
0answers
28 views

Openssh no port truly open

On Ubuntu 14.04lts, i try to install openssh-server (and client by the way) An apt-get install openssh-server openssh-client later I do not have change the sshd_config yet. The server is well ...
2
votes
2answers
5k views

create log file just for ssh

I use ubuntu 10.04, contained ssh. I want to create a log file that stores all the activity on ssh (only ssh). Like in /var/log/auth.log but only for ssh. Like /var/log/ssh.log. So, file ssh.log will ...
1
vote
0answers
297 views

Why do I have to set usePAM to 'no' to manage a ssh connection?

I have a system user named user1 (the main one). I've tried to set a ssh connection between a user named foreignuser and the main one (user1). For that, I've generated a couple of keys with ...
2
votes
1answer
740 views

SSH doesnt restart on reboot after upgrade to Ubuntu Vivid Vervet 15.04

I recently upgraded my server to Ubuntu Vivid Vervet 15.04 from 14.04.2 LTS The upgrade went fine, and I could SSH into the server no problem. It was only when I restarted the server (using restart ...
0
votes
0answers
124 views

ssh daemon mysteriously uninstalled after `do-release-upgrade` 12.04 -> 14.04

(EDIT: Title edited from: "ssh daemon not starting after do-release-upgrade 12.04 -> 14.04", as part of the question was resolved) I performed an LTS upgrade from Ubuntu 12.04. The upgrade went ...
0
votes
1answer
92 views

Building openssh from source on ubuntu

Hi I'm building openssh from source. From source primarily because, I want to collect more logs than what openssh already writes in /var/log/auth.log file. In one of the c files of the source ...
0
votes
0answers
875 views

Is this a security threat (failed SSH login as root)

I was checking the /var/log/auth.log and I found it's full of these two paragraphs May 6 07:42:12 mypc2 sshd[4489]: Failed password for root from 221.229.166.29 port 36998 ssh2 May 6 07:42:18 ...
0
votes
1answer
1k views

How to suppress pam_unix(sshd:session): session closed for user

I have a Ubuntu (14.x) host serving as a git repository box (via GitLab CE). Around 50 users are using shared user (in this case "gitlab") to connect to the box to sync their repositories. This method ...
3
votes
1answer
2k views

What does %h mean in SSHD configuration?

I'm setting up OpenSSH on a server and I've created my keys on my client, but I don't know where I'm supposed to put the public key on the host. I understand it needs to be added to the ...
0
votes
1answer
2k views

Unable to connect to my Ubuntu machine using Putty remotely?

I am new to Ubuntu, I have it installed on my computer (not on a virtual machine) and I am trying to connect to my Ubuntu machine remotely through PuTTY. I am getting the IP address of the Ubuntu ...
1
vote
1answer
161 views

How to get notified (run script) on every SSH connection?

I'm able to run a script automatically every time I log into my machine via SSH by placing a command in the /etc/ssh/sshrc file. That works perfectly, however it's only triggered when I log in via ...
0
votes
2answers
60 views

fallback sshd_config script

Is there a way to run a script such as: cp /etc/ssh/sshd_config.orginal /etc/ssh/sshd_config reboot if my /etc/ssh/sshd_config fails? Why do I need this? Well sometimes when I edit the file it ...
0
votes
2answers
124 views

How to run openssh-server compiled from source

I have compiled openssh source using ./configure make and make install Now it has compiled and installed binaries, config files and the server at /usr/local/bin /usr/local/etc /usr/local/sbin ...
1
vote
1answer
560 views

SOCKS proxy to SSH server behind HTTP proxy

I set up a SOCKS proxy at port 9090 to computer B elsewhere: ssh -D localhost:9090 user@B and configured it in my local Google Chrome browser. However, computer B is behind an HTTP proxy, so HTTP ...
2
votes
2answers
91 views

Ubuntu Server installation on SSHD [closed]

Is it a good procedure to install Ubuntu Server 14.10 on an SSHD (8 GB SSD + 2 TB HDD)? Or perhaps it is better to install the OS on an SSD and mount an HDD for data storage?
-1
votes
1answer
3k views

SSH connection refused on fresh started Ubuntu 14.04. - Connection possible after restart of ssh until reboot

I'm a newbie to linux and ran into a problem with my new media machine in the living room. I want to control it over VNC from time to time and therefore installed openssh-server. From the beginning I ...
3
votes
1answer
867 views

Why does ssh(d) seems to use OpenSSL heartbleed version?

It is commonly known that the heartbleed bug exists in the OpenSSL versions 1.0.1 through 1.0.1f (inclusive). So why are ssh and sshd compiled with OpenSSL 1.0.1, where the bug exists (12.04 -> ...
1
vote
0answers
3k views

SSH Tunnel can't connect through existing tunnel — chanel3: open failed: administratively prohibited

I am following this tutorial and I have gotten past the part where I create a tunnel from my local computer (Host B) to a remote computer (Host A) with ssh -L 19922:HostA:22 HostA however, when I ...
2
votes
1answer
745 views

ssh connections to Ubuntu are intermittent

I'm trying to use ssh to connect from a Mac to Ubuntu 12.04. I get "Connection reset by peer." Try again and I get "port 22: Connection refused." Keep trying and I get password prompt. Enter password ...
0
votes
2answers
573 views

Cannot SSH into Ubuntu14.04 Server Remotely

So I am able to SSH onto the server when connected to the same network, but I need to enable remote connection. When I enter ssh -v user@serverIP, I get the output: OpenSSH_5.6p1, OpenSSL 0.9.8y 5 ...
2
votes
0answers
217 views

How to enforce LDAP group membership with libpam_ldap for SSHD

I am running 14.04 servers that I have install the ldap authentication package ldap-auth-client on and configured to connect to our LDAP servers. I have the authentication part working as well as the ...
0
votes
1answer
41 views

Setup openssh to start when the computer boots

I have a headless server and I was wondering if it is possible to start openssh without logging in. It would start without the need for a password, so I wouldn't have to plug in a monitor every time I ...
2
votes
1answer
2k views

Fail2Ban Regex SSH Will not Match Auth.Log - Searched Everywhere for a Solution

Im trying to get Fail2Ban to work with the SSHD Config provided. When i run fail2ban-regex /var/log/auth.log /etc/fail2ban/filter.d/sshd.conf The Output is as follows ...