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

16
votes
2answers
57k 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 ...
7
votes
3answers
163 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
15 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 ...
3
votes
1answer
31 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
32 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
86 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
24 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
462 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
22 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
3answers
5k 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
1answer
61 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 ...
2
votes
5answers
14k 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 ...
13
votes
3answers
76k 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
30 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 ...
2
votes
3answers
738 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
138 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
350 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
27k 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: ...
2
votes
1answer
108 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
52 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
37 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
46k 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
276 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
940 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
111 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 ...
2
votes
3answers
6k 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.
0
votes
1answer
267 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
2answers
5k 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
vote
0answers
107 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
39 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 ...
19
votes
3answers
41k 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
votes
1answer
439 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 ...
7
votes
3answers
78k views

SSH Connection Error: No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
0
votes
1answer
268 views

Can't get SSH to work

I tried to set up an ssh connection using an RSA key but I can't get it working. My permissions are ok, I set in the sshd_configfile that it has to use a public key for authentication, I of course ...
1
vote
0answers
63 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 ...
2
votes
1answer
213 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 ...
2
votes
1answer
248 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
1answer
82 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
149 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 ...
1
vote
1answer
520 views

Imported OpenSSH keys are saved in Gnome2 keyring, not OpenSSH

I have run into a frustrating issue, that I am sure will be a snap to solve. When importing an openssh key via the "Passwords & Keys" (seahorse) program, it simply places it within the "Gnome2 ...
51
votes
3answers
61k views

ssh: automatically accept keys

I've written this small utility script: for h in $SERVER_LIST; do ssh $h "uptime"; done When a new server is added to $SERVER_LIST, the script is stopped with: The authenticity of host ...
11
votes
2answers
7k views

How can I reconnect to a ssh session after a broken pipe?

So I was running apt-get upgrade on a server when the router decided it had been too long since it last made me angry: It dropped all connection. Moral of the story is to use screen a lot when you're ...
0
votes
2answers
62 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 ...
0
votes
0answers
43 views

SSH PC at office from home

My office has one default gateway and behind that is a local network with locally assigned IP addresses to all computers including mine. I hold admin in my Ubuntu installed office PC and is it ...
13
votes
1answer
11k views

Host alias for ssh

There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them. I'd like to be able to use... ssh -p ...
0
votes
0answers
226 views

Change chrooted sftp user default directory

I am using Ubuntu Server 14.04.1 LTS running openssh. I have set up sftp chroot for several users by editing sshd_config like below: add: Subsystem sftp internal-sftp Match Group sftp_users ...
4
votes
5answers
1k 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
1answer
34 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
119 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 ...