SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

1
vote
1answer
7k views

“PTY allocation request failed” error when trying to connect using SSH with ControlMaster

I'm trying to log into Ubuntu desktop. I get the following error message: PTY allocation request failed What does it mean and how to connect to my desktop? This is the output with -v: debug1: ...
0
votes
2answers
17 views

Trying to SSH and nothing works!

Thanks in advance. I've tried everything from re-generating keys, permissions, port-forwarding on router, with and without firewall, still I can't even ssh to localhost. At first it would say, ...
0
votes
1answer
8 views

Can't SSH to machine on Local Network (time out), can SSH from ouside LAN

I have a Box 'foo' which has sshd running. I wish to ssh to this machine via Box 'bar'. Box 'foo' has the IP address 10.0.0.100 and Box 'bar' has the IP 10.0.0.109. The gateway for both of these ...
0
votes
0answers
7 views

Hamachi service on boot

I have installed Logmein Hamachi on a Raspberry PI2B running Ubuntu 14.04. I want to access this "server" via ssh with the Hamachi ip (using hamachi because the ip of the server will change over time ...
1
vote
1answer
24 views

SSH tunneling with relay and dynamic IPs

I am trying to achieve a vnc connection through ssh tunnel from a computer on a private network, and to another one on another private network, using a public server as relay. It can be graphically ...
0
votes
3answers
22 views

Can not resolve aliases for ssh

Here is my problem: I got two machines in the same network 192.168.122.0/24 my /etc/hosts : 192.168.122.100 toto 192.168.122.110 tata if I type : ssh toto: root@toto's password: Permission ...
1
vote
0answers
12 views

OpenSSH: Slow typing speed when in pseudo terminal [migrated]

Problem Recently when connecting to remote machines using SSH, I've noticed that there is a distinct delay of around 1 second between me typing something and the characters actually appearing. If I ...
18
votes
4answers
22k views

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this ...
0
votes
1answer
14 views

“Host key verification failed”?

Well, I'm working with virtual machines and I was trying to establish connection between client and server by ssh (from client to server). I installed ssh in both machine and I restarted too. It was ...
0
votes
1answer
23 views

Copy file with scp command

Trying to copy a file from RPi to my PC: $ scp MyFile.pdf user@192.168.0.83:~ ssh: connect to host 192.168.0.83 port 22: connection refused lost connection When copying the same file from my PC ...
1
vote
1answer
22 views

Can't log in: Upgraded to Ubuntu 16.04 invalidated my public ssh-keys, changed to PasswordAuthentication no and now I can't get back in

I upgraded my remote server to Ubuntu 16.04 (from 14.10). Then I reconfigured it to only use keys and not passwords. Did that by editing the /etc/ssh/sshd_config file where I changed to the ...
1
vote
1answer
9k 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 ...
1
vote
2answers
50 views

sshfs giving “remote host has disconnected”

I am trying to mount an sftp connection into a folder using sshfs with the following command which throws an error. ~$ sshfs admin@example.com:/ testfo remote host has disconnected The same error ...
0
votes
1answer
18 views

Sharing a Network Drive through OpenSSH for a Specific Group

First question, hooray! To the point: I'm not very well versed in Linux, I'm in the process of studying my Linux+. I'm working on a variety of projects with friends, co-workers, and teachers. I'm ...
71
votes
4answers
46k views

What is the difference between `ssh -Y` (trusted X11 forwarding) and `ssh -X` (untrusted X11 forwarding)?

What is the difference between ssh -Y (trusted X11 forwarding) and ssh -X (untrusted X11 forwarding)? As far as I have understood it, it has something to do with security, but I did not grasp the ...
0
votes
1answer
23 views

SSH connection in cronjob denied :“No supported authentication method”

I wanted to set up crontab to fetch resources from remote server to local server. Steps used as below In local server ssh-keygen with no passphrase copied the pubic key over to the server using ...
0
votes
2answers
6k views

Problems using the start-dfs,sh on hadoop 2.2.0

Im using this tutorial for installing hadoop 2.2.0 http://codesfusion.blogspot.in/2013/10/setup-hadoop-2x-220-on-ubuntu.html I've completed many of the steps successfully but I'm stuck over this ...
0
votes
1answer
28 views

SSH from Ubuntu to Lubuntu on a local network

I want to SSH from my laptop to a device on my local network running Lubuntu. I'm trying to use the method described in this answer. To get a list of Ubuntu: avahi-browse -tl _workstation._tcp ...
15
votes
8answers
19k views

ssh no longer allows public key authentication

My machine recently stopped accepting incoming public key authentication. I have an ubuntu 11.04 desktop that I ssh into from a windows machine. I use putty with pageant. I am able to connect but ...
2
votes
0answers
23 views

ksshaskpass asks for passphrase before kwallet

I have the kubuntu desktop 16.04. I use kwallet and ksshaskpass to unlock my ssh keys automatically on startup. kwallet is password protected too. My problem is that at system startup ksshaskpass ...
60
votes
6answers
70k views

Enter SSH passphrase once

Before upgrade When I was running git clone git@... (using ssh) once per computer restart a window dialog appeared containing a textbox for inserting my SSH passphrase and confirmed with OK. Then the ...
-1
votes
1answer
19 views

ssh or openssh not listed in the Ubuntu Software program

I am trying to install ssh on a fresh install of 16.04 LTS but it is not listed in Ubuntu Software program
23
votes
6answers
16k views

X11 Forwarding over Gnu Screen, is it possible?

I use GNU Screen constantly. But, I've been trying to figure out if there is someway to get X11 apps to forward over screen when I am ssh-ing (Is that a word?). Currently if I try to run 'gedit' ...
1
vote
1answer
96 views

Remote controlling my PC securely

My primary goal is making it possible to remotely connect to my home PC and have remote desktop-like functionality. What software combo would satisfy the five requirements below? I've got five ...
1
vote
0answers
9 views

Systemd restarted when running hadoop terasort

I am running Ubuntu 16.04, with the default kernel. I am using Hadoop version 2.7.2, terasort, one master and 3 slave nodes. When running the mapreduce, some nodes will lose SSH connections. From the ...
2
votes
0answers
28 views

ssh ldap AuthorizedKeysCommand

I have mounted an LDAP server, I generate certificates for my users and I wanted to store certificates in ldap (certificates itself, not their directories), I found the following scheme used to store ...
1
vote
1answer
4k views

Permission denied (publickey,gssapi-with-mic)

I am trying to connect to a VM using this command: sudo ssh -i /home/ritesh/.ssh/id_rsa1 tc@54.80.22.15 -L 5901:localhost:5901 But it's giving me this error: The authenticity of host '54.80.22.15 ...
0
votes
0answers
20 views

Issues while downloading all packages offline

I wanted to offline download all packages required to install openssh-server on Ubuntu 14.04 of my office PC which has several dependency mirrors blocked due to firewall policy. So I have installed ...
0
votes
1answer
26 views

SSH fails in Crontab after reboot

I am regularly running a shell script through Crontab that uses SSH to connect to a server. If I run that script manually it runs through successfully. Within the same session Crontab will ...
0
votes
0answers
12 views

How to configure Redsocks in Ubuntu?

I have a HTTP proxy connection in my college, I used Proxifier in windows to redirect all connections through my proxy ID ( username and password), How can I configure Redsocks to do the same?
1
vote
1answer
44 views

Port forwarding/bypass firewall

I have two servers located at two different places: Ubuntu Server (MySQL) Ubuntu Server (Tomcat) The problem here is that the Tomcat server cant send data to the mySQL server over port 7878 because ...
0
votes
0answers
16 views

Putty SSH, refused connection by guest mininet machine

I followed the main VM installation notes on the Mininet website, and the VM works totally fine. But When I tried to SSH into the VM, at first it timedout the connection. Then after searching on the ...
2
votes
1answer
150 views

How can I repair gnome-keyring to unlock my SSH keys automatically after login?

It looks like some recent package updates broke some functionality of gnome-keyring. When using SSH from the terminal it asks me for the password of my SSH private key. Previously the key was unlocked ...
0
votes
0answers
31 views

SSH issue commands stucking

when I do ssh to my server and logged in successfully through terminal, the commands are stuking and taking longer to infinite time. e.g. ls,nano etc. I'm using ubuntu14.04 Terminal.
0
votes
1answer
8k views

Ubuntu Desktop 15.04 Installing openssh-server : missing dependencies

I recently installed Ubuntu Desktop 15.04 in a VM. I chose this version as opposed to using the Server image just to have a pretty GUI to click. Upon checking, there isn't an SSH server installed ...
1
vote
2answers
42 views

Remote Desktop Linux to Linux

I'm a new user and recently I installed Debian Wheezy in PCs. I'm in charge of a computer center in a public school, and I need a software which control another ones. The trouble is I have been ...
2
votes
1answer
4k views

SSH: Can connect locally but not “remotely”

A bit of background: I'm a ubuntu user for almost a year now. I had an old box lying around and decided to put it to some use. The first thing I wanted to do was set up SSH so that I can place it in a ...
0
votes
0answers
57 views

ssh/git does not use GUI to ask for password after upgrade to to Ubuntu 16.04 [migrated]

I used to run Ubuntu 14.04 on my computer. Whenever I used ssh keys to log in to various servers, I used to get a GUI pop-up dialog asking me for the password for my key. After entering the password ...
3
votes
2answers
40 views

Open folder GUI in remote machine

I have ssh connection with a remote machine (ssh username@server). But now I want to open a certain folder path/to/folder in a GUI environment. The following I've tried while being in ...
2
votes
1answer
27 views

ssh-keygen -lf doesn't work in 16.04 LTS

When I run the command ssh-keygen -lf /etc/ssh/ssh_host_rsa_key it returns: 2048 SHA256 asdfgErgsf34GQERgfdGadsfsafgergfgadgfagjfaifgj root@Fre2 (RSA) Instead of a value such as: RSA key ...
3
votes
1answer
20 views

Escape username spaces in SCP

I've been playing around with SCP for a while, and I've been able to transfer files from one place to another. It all worked nicely until I needed to copy a file from Ubuntu to a Windows user who had ...
1
vote
1answer
48 views

Iptables rules slow down loggining in via SSH

I am trying to build some basic iptables rules for my VDS: iptables -A INPUT -p tcp --dport ssh -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT ...
0
votes
0answers
17 views

Adding SSH to new user: Jailed (chrooted) SFTP user can authenticate, but is immediately exited

I'm having trouble creating a new user with some key permissions. I want this new user to do the following with "everything else" locked down: SSH tunnel to port 5432 (postgres) SFTP jailed to the ...
1
vote
1answer
17 views

How to setup transparent ssh when there are multiple servers

My desktop is Ubuntu. There is a host class with name my_host_machine, which includes several servers like: my_host_machine_1, my_host_machine001,my_host_machine__123, etc. It's uncertain which server ...
1
vote
0answers
28 views

ssh / scp / sftp slow. Transfers seems to be capped at ~64kb/s

Machine details: mediacenter@mediacenter-Aspire-R1600:~$ uname -a Linux mediacenter-Aspire-R1600 3.19.0-51-generic #58-Ubuntu SMP Fri Feb 26 21:22:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ...
4
votes
4answers
3k views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
0
votes
1answer
27 views

Question about bash script

I am using Ubuntu 16.04. I have written a basic bash file which automatically logs me into my SSH server. Is there a way to add a message which says "Connection failed" if SSH can't reach the server? ...
1
vote
0answers
13 views

Printing over ssh: “cat file | lpr” or “lpr file”

I am looking at how to print a file over ssh. Two websites (The Linux Documentation Project and Computer Hope) suggest the command "lpr" but both seem to suggest two different methods, with no obvious ...
1
vote
2answers
59 views

Run Shell Script inside tmux

Why after running tmux on a remote server via ssh, program works; but after detaching sessions, it returns 404? This is a Go(golang) program, a http server listening on a port, behind a nginx reverse ...
2
votes
2answers
112 views

sshpass broken since ubuntu 16.04

Since I upgraded to 16.04, the following command fails: sshpass -p password ssh user@host with the error: Could not create directory '/home/mylocaluser/.ssh'. (~/.ssh folder already exists). ...