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

2
votes
1answer
30 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
0answers
10 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
0answers
27 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 ...
3
votes
2answers
124 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 ...
2
votes
1answer
64 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
27 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
35 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
112 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
936 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
54 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
0answers
74 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
32 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
252 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
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 ...
0
votes
1answer
218 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 ...
2
votes
3answers
323 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 ...
0
votes
1answer
109 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 ...
0
votes
1answer
68 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
115 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
169 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
0answers
39 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 ...
0
votes
2answers
56 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
202 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 ...
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
97 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
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
2answers
164 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
113 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
30 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?
0
votes
0answers
221 views

Trouble ssh connecting with Putty from windows to ubuntu

Hello all I've been looking all over this form for answers but I just can't seem to get it right. First time ubuntu user, and linux user for that matter. I have openssh-client and openssh-server ...
1
vote
2answers
458 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
298 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
117 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. ...
0
votes
2answers
1k 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 ...
0
votes
0answers
66 views

How to setup a Multi User NAS

I want to setup a multi-user NAS, With an administrator, and have that admin have the ability to add users to the NAS. Users Are likely to be using mainstream platforms. So I plan for them to use ...
2
votes
1answer
57 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 ...
0
votes
1answer
128 views

cannot ssh via inadyn and freedns

I am having trouble getting ssh to work with a dynamic IP address. I have two laptops, one host and one guest. I have ssh set up on the host and I can ssh in from the guest as long as I know the ...
0
votes
0answers
79 views

File ownership in FTP client displays ID instead of name

Today I'm setting up my first VPS – Ubuntu 14.04 on Digital Ocean. The set up shows owner and group id instead of name. It's not FTP client's settings. It happens only for my new VPS sever. Maybe ...
1
vote
0answers
52 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
1answer
150 views

SSH to user from external network says permission denied, works fine from internal network

Okay, I have Openstack installed on a server. I can SSH to the openstack server I have set port forwarding on that server I can ssh to the instance using private AND public(floating) IPs when done ...
0
votes
4answers
651 views

SSH onto new Ubuntu 14.04 server

This is my first server I have set up and I used ubuntu 14.04 to run it. I opted not to use the server install because the regular ubuntu was easier to setup. Now I wanted to make the server ...
1
vote
0answers
44 views

ssh, problem with headless device

I have Ubuntu 14.04 installed on a headless device. Since the last update and shutdown it is not possible to connect via ssh anymore. nmap shows the machine is up and in the network, all ports are ...
1
vote
3answers
47 views

Is there a way to send my IP packets to say node “r” inside network A from a node “y” in network B via SSH?

I have two networks A and B consisting of linux nodes and I want to communicate between the two via SSH: Both networks are separated by the internet. Network A is behind a firewall, and allows only ...
0
votes
1answer
1k views

Installing openssh-server on a virtual machine

I am unable to install openssh-server on an Ubuntu 13.10 virtual machine. Here is the command I used and it's output: sudo apt-get install openssh-server [sudo] password for mohamed: Reading package ...
0
votes
0answers
7k views

ssh -> Permission denied (Publickey, Password) Error Ubuntu 12.04

Problem: When ssh from Machine A to Machine B and vice versa I get a Permission denied (Publickey, Password). Machine configurations Machine A: Ubuntu 12.04, IP address 192.168.1.100 Machine B: ...
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
1answer
436 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 ...
1
vote
1answer
283 views

MySQL SSH Connection Setup

I want to connect to a MySQL db (running Ubuntu 14.04) with my Mac (running Mavericks). I will be connecting remote- home to work. How do I setup the ssh connection on MySQL workbench? Also, where do ...
1
vote
1answer
233 views

SSH access failure from Ubuntu to Windows XP FreeSSHd [closed]

I installed 2 VMs on VirtualBox. VM 1: Windows XP with FreeSSHd and PuTTY installed.IP address: 10.0.0.2 VM 2: Ubuntu 12.04 LTS Server Edition with OpenSSH installed.IP address: 10.0.0.3 From VM ...
2
votes
0answers
2k views

Can't change ssh port (Trusty 14.04)

I've been trying to change my ssh port without success and none of the suggestions I've found did the trick for me. I'm on Trusty 14.04 at Rackspace (upgraded from Precise). This is the sequence of ...