sshd - OpenSSH SSH daemon

learn more… | top users | synonyms

0
votes
2answers
19 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
45 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 ...
0
votes
2answers
85 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 ...
2
votes
1answer
308 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
1answer
123 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 ...
1
vote
1answer
65 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
27 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
1answer
247 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
565 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, ...
-1
votes
1answer
618 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 ...
-1
votes
1answer
74 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
0answers
19 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 ...
1
vote
0answers
44 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
0answers
642 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 ...
1
vote
0answers
103 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 ...
1
vote
0answers
63 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
49 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
98 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
0answers
26 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
0answers
84 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 ...
0
votes
0answers
168 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 ...
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 ...
0
votes
0answers
74 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
0answers
49 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
60 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
84 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 ...