sshd - OpenSSH SSH daemon

learn more… | top users | synonyms

1
vote
4answers
41 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
23 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.
0
votes
0answers
25 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 ...
0
votes
1answer
48 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
18 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 ...
1
vote
0answers
36 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
213 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
57 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
0answers
187 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
108 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 ...
0
votes
0answers
28 views

How to handle disk encryption for remote connection?

I have at my workstation, an ubuntu 14.04 installation with full disk encryption. I now have to travel frequently for days and am planning to ssh into this machine from my chromebook to work remotely. ...
0
votes
1answer
354 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 ...
0
votes
0answers
105 views

minimal install of Ubuntu 14LTS has SSHd enable , but no Openssh package installed

I'm installing U14 LTS from the "Minimal" CD image on a VM. Installation goes as planned, only item I checked to install additionally was 'OpenSSH server'. After install, I'm doing an inventory of ...
3
votes
1answer
251 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
100 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
74 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
1answer
29 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
2answers
26 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
49 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
0answers
59 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
203 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 ...
0
votes
0answers
198 views

Ubuntu freezes sporadically showing very high disk i/o (around 100 to 500 MB/s)

I have an year old HP Pavilion laptop that came with Ubuntu preinstalled. Currently it has Ubuntu 14.10 64 bit with Kernel 3.16.0-30-generic. It was working very well until recently when I started ...
2
votes
2answers
54 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?
0
votes
0answers
19 views

Strange entry in open file list on Ubuntu server

On my Ubuntu server I occasionally run the following command to view any open files that are TCP connections from my server: lsof -uroot | grep 104.236.XX.XXX The last time I ran it, I saw this as ...
-1
votes
1answer
811 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 ...
2
votes
1answer
171 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
756 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 ...
0
votes
0answers
76 views

problem editing sshd_config

We currently have a vulnerability in SSH (Ubuntu Server 10.04) that requires us to remove MD5 and RC4 from SSH, we did it correctly in 4 servers, but when we edit it on one server in particular and ...
0
votes
2answers
220 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
1answer
351 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 ...
1
vote
0answers
112 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
37 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
1k 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 ...
0
votes
0answers
54 views

making a custom last login line

I've been customizing my MOTD recently, and wanted to add a newline after the lastlogin line. However, I don't think this can be easily done since the lastlogin is printed by sshd. And according to ...
0
votes
0answers
62 views

Restrict Direct User Login with SSH but Allow SSH Access from Single User

I have a user (a) whose direct login must be restricted except for when user is ssh'd from a particular user (b). For all other users direct login must be restricted. Is there any way to accomplish ...
0
votes
0answers
11 views

Can I dualboot Win8 and Ubuntu 14.04 on a SSHD? [duplicate]

I don't know much about how the SSHD works so I am nervous to do the dualboot. Is there any way I could get some help with the process?
0
votes
0answers
96 views

SSHD Won't Start

On a fresh install of 14.04.1, openssh-server is supposedly installed, yet SSHD isn't up. ps -ef|grep sshd gives nothing. /etc/init.d/sshd start runs quietly, yet the daemon doesn't appear and port ...
1
vote
2answers
2k 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 ...
-1
votes
1answer
79 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?
1
vote
1answer
51 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 ...
1
vote
0answers
69 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 ...
7
votes
4answers
1k 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 ...
0
votes
1answer
254 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 ...
2
votes
2answers
76 views

Ubuntu on SSHD Drive with Windows 7 VM

I'm tottaly 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 ...
23
votes
3answers
53k 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 ...
1
vote
1answer
106 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 ...
0
votes
1answer
266 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 ...
0
votes
1answer
635 views

Change expired password via ssh

I have added some new users and set default passwords. Using chage -d 0, I have expired them, hoping that they will be prompted to change their passwords the first time they login. Unfortunately, ...
2
votes
1answer
68 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 ...
0
votes
2answers
93 views

SSH log login attemtp 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 ...