OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

learn more… | top users | synonyms

0
votes
0answers
205 views

Problems connecting Putty SSH to Ubuntu openssh-server

Just installed a clean copy of Ubuntu 14.04 Desktop (amd64) onto a Dell precision T5400. Installed the openssh-server and tried to connect from Windows with Putty. Sometime the connection works for a ...
0
votes
0answers
171 views

SFTP / openssh logging with chrooted users

I just tried to follow the steps from this thread: http://ubuntuforums.org/showthread.php?t=2081637 For some reason, it does not work. I tried to follow exactly those steps, but the log file is not ...
1
vote
4answers
8k views

Uninstalling ssh

ssh is installed in my system. ssh -V OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014 But when I try to uninstall it completely using sudo apt-get purge openssh-server it says ...
4
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.
0
votes
2answers
427 views

SSH to local ip in external network

I know there is a lot of information about this subject but still I do not understand something. We have internal wiifi network that include 4 desktops, each one has internal local ip address. The ...
0
votes
0answers
433 views

Something wrong in 14.04 LTS with ssh when no password is authorized by remote server

After loosing days for a solution (including here), I will ask more expert people about a way to connect a new desktop ubuntu 14.04.LTS to some ubuntu 14.04 LTS servers accessible only by using a ...
1
vote
3answers
675 views

Ubuntu 12.04, PCI, and CVE-2015-5352

PCI compliance will fail when the CVE-2015-5352 vulnerability is present. OpenSSH 6.9 fixes this vulnerability, but none of the supported versions of Ubuntu (12.04, 14.04, 15.04 and 15.10) have been ...
3
votes
2answers
11k views

Installed 15.04, cannot restart ssh daemon

As the title says, I installed 15.04. One of the first things I did was sudo apt-get install openssh-server. The next command was sudo restart ssh, which is greeted with an output of: restart: ...
0
votes
2answers
270 views

Passwordless ssh to vagrant to load another user after vagrant ssh

I have a new user in my vagrant box(trusty64) and I am trying to ssh into it. Instead of logging into vagrant user after vagrant up, I want to login to my username. What I have done so far Created ...
1
vote
1answer
10k views

How to generate Openssl .pem file and where we have to place it

I want to generate a OpenSSL .pem file to allow the remote login via ssh using .pem file at the place of password. I am able to generate key as well as .crt and .pem file using the following sudo ...
0
votes
2answers
150 views

Connection refused even after installing openssh-server

I have been spending the last 4 hours trying to get my VNC connection to work. Eventually, I realized it was because my Ubuntu remote host was unable to host SSH connections- even though I had already ...
1
vote
1answer
121 views

SSH-Login with key does not work correctly

I got a system where I want to get access via ssh-keys to. I created an user called monitor and created a file called authorized_keys in /home/monitor/.ssh/ and inserted 2 public keys: Publickey #1 ...
10
votes
3answers
3k views

Difference between Software Selection Servers

I am installing Ubuntu Server, and I want to know what is the difference between these: [ ] OpenSSH server [ ] DNS server [ ] LAMP server [ ] Mail server [ ] PostgreSQL server [ ] Print server [ ] ...
4
votes
1answer
68 views

OpenSSH client not connecting after deleting id_rsa

So I stupidly overwrote my id_rsa and id_rsa.pub files earlier, and I just decied to rm -rf the whole .ssh folder because it was all corrupted/broken after tinkering with it. Ever since that when I ...
0
votes
1answer
246 views

SSH to Ubuntu Desktop [duplicate]

I've setup an SSH server on my Ubuntu desktop at home using a dynamic DNS service (NOIP). I have a wi-fi-only Android tablet running Android version 4.4.2. Port 22 is forwarded, ufw is disabled ...
2
votes
1answer
282 views

Messed up with my ssh_config file. How can I recover the original file?

I was setting up ssh on Ubuntu. I accidentally copied the contents of sshd_config in ssh_config file! Is there a place where I can find the original one? Fortunately I didn't touch the ssh_config. I ...
1
vote
1answer
396 views

manually change the startup scripts in /etc/rc2.d

I use ubuntu 14.10 and I want to stop the SSH service from auto startup. Will it be enough to change the start up script to be /etc/rc2.d/K03ssh or I should do sudo update-rc.d -f ssh remove also
1
vote
0answers
108 views

SSH outside the local network

I have Ubuntu 14.04 LTS installed on a Toshiba Satellite L655. I've recently installed an SSH server on the machine and it works fine when connecting to it using 192.168.1.3 but when I try that using ...
3
votes
2answers
4k views

apt-get dependency issue Open-SSH Client

This is on an Ubuntu 12.04 Server. I'm getting this error when trying to run any apt-get install (trying to install unrelated, arbitrary packages): dpkg: dependency problems prevent configuration of ...
0
votes
1answer
98 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 ...
1
vote
1answer
242 views

OpenSSH: X-Forwarding: wrong authorisation protocol

I have edited the /etc/ssh/sshd_config so that: AllowAgentForwarding yes AllowTcpForwarding yes X11Forwarding yes X11DisplayOffset 10 X11UseLocalHost no And I connect to the host with: ssh -X Yet,...
5
votes
2answers
7k views

Error `could not load host key` when trying to recreate SSH host keys

I am trying to recreate the ssh-server host keys. I have at least two ways to do this: With dpkg-reconfigure dpkg-reconfigure openssh-server This works fine, but I cannot give the key length ...
5
votes
1answer
9k views

Limit SFTP user access to specified directory

I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
0
votes
2answers
137 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
145 views

OpenSSH chroot breaks ssh and ftp

I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps: Fresh install ...
1
vote
2answers
1k views

openssh-server Permission Denied (publickey) ubuntu 12.10 LTS

Permission denied (publickey). ssh-keygen -t rsa -P '' ssh-copy-id hadoop1@hadoopslave CAN LOGIN WITH : ssh username@hostname or username@ip_address ssh hadoop1@hadoopslave ...
0
votes
1answer
982 views

Why is my scp rejected from port 22 even though I'm connecting on port 25000?

I know others have had this issue, but I can’t extrapolate a solution to my situation. I am trying to scp a .tar.gz file onto my newly configured Ubuntu server (I’m new to server config), but I’m ...
1
vote
0answers
559 views

After reboot, ssh refuses connection

I've never touched sshd_config, all ports open (22, 80, 443), ssh status says ssh server is running. I had all working before reboot perfect, now it´s all dead and I can't enter site, neither using ...
1
vote
2answers
84 views

How can I remove a specific known_hosts entry without deleting the file

When I try to ssh to my server (I reset the server) I get the usual "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" I then run the suggested ssh-keygen -f "/home/XXXX/.ssh/known_hosts" -R xxx.com ...
-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 ...
1
vote
0answers
67 views

how to set up a connection without using ssh

hey^^ currently I'm having a problem with a compute who has ubuntu installed on it, so I wanted to use putty and get remote access. Sadly the computer is a bit of a pain in the ass and not able to ...
0
votes
2answers
1k views

Error connecting Qt Creator to Raspberry Pi using ssh

I have generated an image for the Raspberry Pi board using buildroot 2014.11, but while connecting Qt Creator via ssh to Raspberry Pi board it shows the following error: Connecting to host… SSH ...
4
votes
3answers
2k views

Can't SSH into Ubuntu Touch device

From my computer: cameron@cameron-ubuntu:~$ ssh phablet@192.168.99.124 Permission denied (publickey). So it seems that openssh on the phone doesn't have password authentication enabled. But it ...
2
votes
1answer
2k views

installing openssh-server without an internet connection

Currently we have been given an old server with the OS ubuntu. To work at it without always physically being there I wanted to access it with the software putty, but I haven't installed "openssh-...
0
votes
1answer
1k views

How do I connect to an Ubuntu server via SSH from OSX?

I recently downloaded OpenSSH on my ubuntu server; though I don't have a domain name yet I do have another device (running OSX) on the same LAN as my server. Is it possible to connect to the server? ...
0
votes
2answers
641 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
798 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
86 views

Terminal Runs SSH Every Time

I have no idea how this happened. I was messing with SSH tunneling into my Raspberry Pi (with no problems) and since then, every time I open terminal on my Ubuntu machine, it tries to ssh into the RPi....
0
votes
1answer
42 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 ...
0
votes
2answers
261 views

how to connect from ubuntu pc to android in a secure way?

I connected to my ubuntu using juicessh android app through ssh, however I have concerns about security, what are the steps that you have to take to make sure that it is secure? can you copy the keys ...
4
votes
5answers
5k views

SFTP timeout but SSH works fine

I am unable to sftp (or scp) into my server setup but am able to ssh just fine. I am using key authentication for both. When I sftp it just hangs forever and doesn't give me the sftp prompt. Here is ...
0
votes
2answers
829 views

SSH from iPhone

I installed openssh server on Ubuntu 14.04. My machine name is called "machine" and my username is "machine" so that when I'm on a terminal it says "machine@machine". Question: When I try to connect ...
1
vote
1answer
509 views

Force ssh user to different shell through config

Is it possible in the openssh-server config, to force a subset of users to use a different shell than the one defined for them in /etc/passwd? Say that i, for example, want to confine all users ...
0
votes
1answer
68 views

SSH a Ubuntu Server with external ip

I have a Ubuntu server set up at my house and I am able to connect to it using SSH with its local IP. How can I connect to it from anywhere with its external ip?
1
vote
2answers
2k views

OpenSSH - Restrict users to one or multiple folders

I want to know how I can restrict user access using OpenSSH Server. Let's say I want user 1 to only access /Media, /Documents, and his home folder, User 2 should only access /Folder21, and his ...
0
votes
1answer
818 views

OpenSSH/Git Problem under Ubuntu 14.04

I'm using Ubuntu 14.04 and am trying to clone a git repository via ssh. Unfortunately this does not work due to problems with openssh-client. In the beginning I was unable to connect to the SSH ...
1
vote
1answer
397 views

Disable login prompt through SSH when no key is present

I've set OpenSSH server with private/public keys, with password login disabled. I was wondering if there was a way to not even show the 'login:' prompt when someone without a key tries to connect. ...
2
votes
2answers
6k 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 ...
2
votes
1answer
96 views

timeout during ssh connection

I have an ubuntu pc in my office. I can use this computer through teamviewer. But I not use ssh connection. This is my office computer: donbeo@donbeo-OptiPlex-790:~$ sudo service ssh status [...