Questions tagged [sshd]

sshd - OpenSSH SSH daemon

Filter by
Sorted by
Tagged with
1 vote
1 answer
77 views

Are SSHDs with SATA transparent to operating system/mother board?

I was trying to find answer to this question for many days. What my current laptop has: 500GB Serial ATA drive What I want to replace with: Seagate SSHD SATA drive Does this change require ...
pinkpanther's user avatar
1 vote
0 answers
45 views

Jails user in your home

I have VPS with many users, but i need jails user in your home. Example: User1 access /home/user1/public_html User2 access /home/user2/public_html Both can use SSH, but may not have access to /var/...
Yano's user avatar
  • 11
0 votes
1 answer
3k views

ssh ipv6 - Connection timed out

I'm having "connection timeout out" problems connecting to a VPS through IPv6. sshd_config is ok, netstat tells me so: # netstat -natp | grep :22 tcp 0 0 0.0.0.0:22 0.0.0.0:* ...
Tiago Carrondo's user avatar
2 votes
2 answers
1k 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 [...
serilain's user avatar
  • 508
1 vote
1 answer
628 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 /var/...
questions's user avatar
  • 143
1 vote
1 answer
401 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. It'...
Sonny's user avatar
  • 1,245
2 votes
1 answer
7k 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 ...
jamespa's user avatar
  • 31
1 vote
1 answer
755 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 ...
merlin's user avatar
  • 123
0 votes
1 answer
3k 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 ssh,...
Zohaib's user avatar
  • 3
3 votes
1 answer
7k 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 ...
user2436428's user avatar
-1 votes
1 answer
447 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 ...
Andy's user avatar
  • 9
0 votes
2 answers
553 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 ...
Gocht's user avatar
  • 385
1 vote
4 answers
315 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 ...
iScripters's user avatar
15 votes
4 answers
21k 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.
Fango's user avatar
  • 491
4 votes
1 answer
4k 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: /etc/ssh/...
James Ko's user avatar
  • 187
1 vote
0 answers
4k 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 ssh-keygen....
forvas's user avatar
  • 775
3 votes
1 answer
1k 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 -...
Adam Woolfe's user avatar
6 votes
1 answer
24k 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 /etc/...
arsenal's user avatar
  • 2,003
2 votes
1 answer
6k 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 ...
Robert Heine's user avatar
15 votes
2 answers
28k 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 ...
A. Franco's user avatar
  • 153
2 votes
1 answer
36k 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 ...
Ahmet Jorganxhiu's user avatar
1 vote
1 answer
1k 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 ...
371273's user avatar
  • 117
0 votes
1 answer
384 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 ...
raghu's user avatar
  • 11
0 votes
2 answers
241 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 ...
maxisme's user avatar
  • 131
1 vote
3 answers
2k 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 what'...
raghu's user avatar
  • 11
3 votes
1 answer
4k 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 ...
kirikoumath's user avatar
4 votes
1 answer
5k 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 ...
Diego de la Hera's user avatar
2 votes
2 answers
214 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?
user2958297's user avatar
-1 votes
1 answer
4k 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 ...
NoisyHH's user avatar
3 votes
1 answer
2k 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 -> ...
Tik0's user avatar
  • 327
3 votes
0 answers
9k 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 ...
ohnoplus's user avatar
  • 758
0 votes
2 answers
1k 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 ...
atavel's user avatar
  • 17
3 votes
1 answer
3k 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 ...
Kenneth Garges's user avatar
2 votes
0 answers
964 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 ...
Richard C's user avatar
0 votes
1 answer
74 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 ...
user avatar
4 votes
2 answers
4k views

Fail2Ban regex SSH will not match auth.log

I'm 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: root@fw:/etc/fail2ban/filter.d# ...
Matt Wood's user avatar
3 votes
2 answers
20k views

sshd daemon not running ubuntu 12.04

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted. I get no output to this command: ps -A | grep sshd Any help would be ...
Cole Freniere's user avatar
-2 votes
1 answer
291 views

sshd and openssh server installation

I'm new to Ubuntu. While installing hadoop I get port 22:conection refused. Then I found out that sshd and openssh server are missing. How to manually install these two? can I get a step wise answer?
Sachin Sundar's user avatar
1 vote
1 answer
263 views

What to do so that issue.net shows readable banner characters to chinese russian french ssh users

I set up my ssh server and added custom issue.net config. when loggin, it shows \320\237\320\264\321.... for characters other than ascii-7 Is it a client side issue or do I manage this at server side?...
useful's user avatar
  • 1,834
2 votes
0 answers
677 views

sshd_config file is being overwritten on reboot

I need an AWS server to accept password authentication and whenever I remove the hash and set PasswordAuthentication yes After reboot or create image and launch a new instance, the # is added back ...
user306518's user avatar
10 votes
5 answers
31k views

Cannot SSH from outside LAN despite port forwarding seems fine

Running Ubuntu 12.04, I've set up the OpenSSH server. I can connect from within LAN, but not from outside. I am using the same sshd_config file as on my other Ubuntu 12.04 machines (that sit in a ...
DustByte's user avatar
  • 641
1 vote
1 answer
2k views

Make sure that sshd will automatically start after reboot

I am connected to a computer over ssh. I have to reboot it remotely, while making sure that I will be able to reconnect to it over ssh just after reboot. I install 'bum' and marked sshd to be ...
user34812's user avatar
  • 111
75 votes
6 answers
171k views

take changes in file sshd_config file without server reboot

I changed the configuration in: /etc/ssh/sshd_config but the changes were only applied after rebooting the server. How to apply changes without a reboot?
Maxim Yefremov's user avatar
3 votes
2 answers
186 views

Ubuntu on SSHD Drive with Windows 7 VM

I'm totally new to Ubuntu. Only played with it in the last few days while I waited for the new drive to come (LiveUSB persistent) I'm really impressed with it (and sick of Windows' sluggishness) and ...
user277027's user avatar
139 votes
4 answers
345k 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 without-...
John's user avatar
  • 1,766
1 vote
1 answer
409 views

sshd activation on ubuntu system

I want to connect my work Desktop computer remotely from home. I have read that ssh is used to connect to remote/server machine. When I was reading I came to know that to connect to a remote computer(...
user3138373's user avatar
0 votes
1 answer
2k views

Configure Apache for home network

I'm on U13.10 and have installed LAMP per the Tux Tweaks instructions (see their website -- apparently I'm not yet allowed to post the actual link). Then I followed Tux Tweaks instructions on ...
user97954's user avatar
2 votes
1 answer
107 views

Connecting remotely from Ubuntu to another linux

I want to connect remotely from Ubuntu to Suse. Two different systems in two different locations. I know how to use ssh to connect remotely to a machine in the same network. But, I do not know how to ...
Sam's user avatar
  • 313
1 vote
2 answers
3k views

SSH log login attempt details

I my office we are using Ubuntu Server 12.04. I have installed SSH server in it for clients to access through PuTTY. Now I need to track the users login details like IP address, hostname and date of ...
vigneshwar's user avatar
5 votes
2 answers
4k views

ssh server does not start on lubuntu live image

I installed the lubuntu 13.10 32bit iso image with usb-creator-gtk on a USB stick and assigned 2GB of persistent storage to it. That's for a thin client, which does not have any storage of itself at ...
alexs77's user avatar
  • 51