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

15
votes
3answers
85k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
0
votes
0answers
3 views

running OpenSSH on Mint [migrated]

So I've isntalled OpenSSH on Mint rafaela 17.2, but it doesn't seem to be running. Not sure why service says its up, but I don't have a PID, don't have a listener, and can't connect at all... ...
1
vote
0answers
37 views

How to set environment variable for sshd

I have Ubuntu server 14.04 on a server with openssl version 1.0.1f and openssh version 6.6. In my openssl.cnf I have subjectAltName=${ENV::ALTNAME} so that I can set subjectAltName on the commandline ...
0
votes
1answer
26 views

OpenSSH Port Forwarding Remotely

I have the ff: setup Server : Ubuntu 14.04 (192.168.1.102) openssh server & client installed Router : Lynksys E1000 Port forwarded added ( ssh - 20-80 both 192.168.1.102 ) Now in another unit ...
2
votes
0answers
28 views

Execute prelogin scripts for SSH

I would like to know how I can execute a local server script, for instance send a mail using mailx, when a ssh session is opened, pre-login stage. When a ssh connection comes into the server, I ...
0
votes
3answers
6k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
1
vote
3answers
252 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 ...
0
votes
0answers
36 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 ...
8
votes
3answers
8k views

What causes SSH problems after rebooting a 14.04 server?

Why does rebooting a server running Ubuntu 14.04 give me 'Connection refused' errors? I see ssh: connect to host <IP-address-here> port 22: Connection refused but only for 14.04 and only after ...
-1
votes
0answers
90 views

I accidently did sudo apt-get remove openssh-client

I accidentally did sudo apt-get remove openssh-client I reinstalled openssh-client with the commands $ sudo apt-get update [sudo] password for nature: Err ...
0
votes
0answers
16 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
456 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 ...
3
votes
2answers
84 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.
-1
votes
2answers
58 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
81 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 ...
0
votes
2answers
185 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
0answers
91 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 ...
0
votes
1answer
159 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
0answers
28 views

cannot ssh into an ubuntu server which seems to be due to a problem on server side

i'm trying to login in to an ubuntu server from windows msysgit providing the identity explicitly. output of ssh -i .ssh/id_rsa user@site is $ ssh -i .ssh\id_rsa user@user.koding.io -vvv > ...
0
votes
2answers
66 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
41 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 ...
3
votes
4answers
6k views

Update OpenSSH Server in 12.04?

I'm having hard time updating openssh-server in ubuntu 12.04, I stupidly downloaded .deb file for 14.04 and of course it didn't work :/ I've tried sudo apt-get -f install, it just removed my openssh ...
2
votes
3answers
7k views

Where to get complete offline installer for openssh-server?

I want to download a complete off line openssh-server package installer. I need the offline package to setup for my school project but I don't have the internet facility in the lab.
18
votes
2answers
64k views

Connecting to Ubuntu server via SSH externally

I have recently installed Ubuntu Server 12.04 (Precise Pangolin) and intend to use it primarily as a file server. I am completely new to Linux, so this is a pretty big learning curve. Yesterday I was ...
8
votes
3answers
440 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 [ ] ...
0
votes
0answers
51 views

SPAMHaus/ CBL Blocking List:: UNIX System (Firewall)

I am no linux/ unix guru but CBL and Spamhaus are blocking us every 8 hours roughly and recording it as SPAM. I have completed their instructions to do the following but am concerned i have done it ...
4
votes
1answer
49 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
73 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
146 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
72 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
5
votes
2answers
568 views

Why do I've two entries per server in known_hosts file?

On my mac I've 1 entry per server in the ~/.ssh/known_hosts file, in Ubuntu I noticed there are two created per server. Why is that? Format is: |1|wwwwwwwwwwwwwww=|wwwwwwwwww= ecdsa-sha2-nistp256 ...
0
votes
1answer
35 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
111 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 ...
8
votes
5answers
17k views

How can I access my Ubuntu phone over ssh?

Whenever I try to run apt-get install openssh-server I get the following errors: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file ...
18
votes
3answers
102k views

How to setup a restricted SFTP server on Ubuntu?

I would like to know how to set up root, sudo, sftp-only user accounts which won't be required public key authentication at log in. I would also like to know how to set up sftp-only users' home ...
1
vote
0answers
48 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
3answers
1k 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
687 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 ...
3
votes
2answers
2k 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 ...
4
votes
1answer
30k views

Why do I get “connection refused” errors connecting to a server via SSH?

I've installed Ubuntu 12.04.1 LTS on it with the LAMP stack. I can ping it but when I try to connect to it the server can't be found. When I try to connect with WinSCP I get the error Network error: ...
3
votes
1answer
467 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. ...
1
vote
0answers
88 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 ...
0
votes
2answers
53 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 ...
7
votes
4answers
57k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
0
votes
4answers
1k views

Basic server build for practicing and learning linux on

I am taking it upon myself to learn Linux,so here is what I want to accomplish; I want to set up a server primarily for practice. I don't need it to do anything specific accept allow me to login via ...
1
vote
2answers
518 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
949 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 ...
0
votes
0answers
139 views

Cannot ssh to localhost : Permission denied(public key)

I'm trying to ssh in a server as ssh localhost but it keeps saying : Permission denied (public key). I tried everything from reboot to regenerating the ssh key. It was working before, until I ...
0
votes
1answer
390 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 ...
1
vote
0answers
203 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 ...