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

learn more… | top users | synonyms (1)

0
votes
1answer
6 views

SSH - buffer_get_ret: trying to get more bytes 4 than in buffer 0

I am trying to make a tunnel. When I run command ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa the tunnel starts. Bu the problem is that it after ...
0
votes
1answer
9 views

network error: connection refused after killing one process I guess

I started ssh tunnel process with supervisor. Then I wanted to find out which is that process and to kill it. Did not know how to identify so killed one by one to find out does my tunnel still work. ...
0
votes
1answer
16 views

Login welcome message but no shell?

I've created a user on my Ubuntu machine so that some people can log in and set up SSH tunnels and also so they can download some files from the system. I don't want them to have shell access at all. ...
0
votes
1answer
11 views

Why does this scp command fail? (Host Key Verification failed)

Today I learned that I can execute simple commands without actually ssh'ing into the target host. For example, when I run this commmand ssh target_machine ls /tmp The machine will ask for my password ...
0
votes
2answers
480 views

svn, ssh: Connection refused most of the time; other computers can connect

I am running Ubuntu 12.04.3 and svn as well as ssh (to servers) only works sometimes in a short time window after booting my computer, but most of the time I get "Connection refused". The problem only ...
0
votes
0answers
11 views

How to create users using their public key?

I would like to create accounts on VPS running Ubuntu 14.04. And I want to use their RSA public keys, so do I need to copy the content of the file and paste it inside the /.ssh/authorized_keys file? ...
0
votes
0answers
281 views

SSH connection closed by remote host

Hello so I'm fairly new to ubuntu. I've been trying to connect to my university's cluster using the ssh name@hostname command and after waiting for around 5 minutes I get notified that the connection ...
5
votes
2answers
590 views

Everytime i am trying to connect to my box using SSH, its failing not connecting

From any other PC doing SSH to my Ubuntu 11.10,is failing. My network setup: Telenet ISP (Belgium) > Fiber cable < > RJ45 cable straight > to Ubuntu PC Even the SSH is running: Other PC: ...
0
votes
0answers
16 views

How do I unlock my SSH keys on login in Ubuntu Server?

I'm making a new server that will pull backups from multiple sources on a schedule, so I'd like it to connect via SSH using a key. Setting this up in Ubuntu 14.04 Desktop is trivial, you write the ...
0
votes
1answer
3k 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 ...
0
votes
0answers
8 views

Can't connect to SSH with new user

I created a new user, test. I have done the following to the account: I've given test sudo permission I've added test to AllowUsers in nano /etc/ssh/sshd_config I've generated a new SSH key pair, ...
1
vote
0answers
17 views

No MOTD on Ubuntu 14.04…?

I recently did a fresh install of Ubuntu 14.04. When I SSH, there is no MOTD (and yes, I have the appropriate command set in sshd_config). I read a bunch of tutorials about setting up MOTD, but I ...
4
votes
2answers
4k views

How to avoid typing ssh-add everytime

I read and followed some online documentation on how to set up a ssh-agent so that I don't need to type in password every time I ssh to a remote machine. However, with the help of ssh-agent, I still ...
2
votes
1answer
1k views

Keep the running processes alive when disconneting the remote connection

I have a bunch of processes on a server initiated by ssh from my own machine. It is now about three hours that my machine's Ubuntu has got hung and I do not see any other options but restart. Is there ...
0
votes
0answers
9 views

How to sync using port forwarding

I have my home computer A and a work computer C that I want to synchronise using unison. In the middle is a work computer B. A can communicate with B and B can communicate with C directly but A and C ...
6
votes
4answers
27k 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
1answer
10 views

How do I detect if the current session is an SSH session via bash?

I would like to detect whether the current user session is from an SSH connection - that is, whether the user is physically sitting at the computer that hosts the current terminal or whether he is ...
1
vote
2answers
1k views

openssh server is refusing connections by blocking or resetting

On a quite fresh install of Ubuntu 14.04 (machine1), I have openssh-server with a completely default config. When connecting from machine2 on the LAN, with an empty ~/.ssh, I get the following debug ...
0
votes
0answers
10 views

Can't start firefox on remote server without crashing X on local host

Running: Ubuntu 13.10 The situation is the following: I log in to the remote server with ssh -X user@remote and that is fine. However, once logged in, I type firefox it crashes the local X-session. ...
5
votes
4answers
48k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
-1
votes
3answers
51 views

How access openssh-server with external IP address from outside the Local Area Network

How can I use my new openssh-server with the external IP address from outside the Local Area Network? The purpose is that an external computer administrator from outside the Local Area Network should ...
1
vote
0answers
30 views

SSH configuration problems with Ubuntu 14.04

I'm stumped, after reading online for a bit. I'm trying to enable agentforwarding on all hosts (I know this isn't recommended, but I know the servers I'll be touching from this box) and to disable ...
1
vote
2answers
179 views

install ubuntu in a virtualbox vm on ubuntu host through cli (ssh) only?

I just installed a new remote server with ubuntu 14.04, added an SSH server so I can control the server remotely through SSH. No GUI involved. Well, the server has a GUI, but I have no physical access ...
1
vote
1answer
34 views

Access Ubuntu SSH Server from Ubuntu Desktop

Hi I have a Ubuntu Server and I have configured public and private key on that server. Previously I was using Windows 7. So I just installed Putty and was accessing my Ubuntu Server from Windows 7 ...
1
vote
1answer
33 views

Trying to establish a remote SMB connection over SSH

Please be gentle with me I'm new to Ubuntu and have a basic network knowledge! I'm trying to establish an SMB share via a secure ssh connection from a windows PC to a remote Ubuntu machine. Some ...
2
votes
0answers
12 views

Set user- or group-specific MOTD in SSH

I would like to disable or change the MOTD shown on SSH login on a per-group/per-user. This question on SuperUser has an answer stating that I can use Match blocks in sshd_config. However, man ...
0
votes
1answer
40 views

Server disk encrpytion prevents connection after SSH remote reboot

newbie here. I am running Ubuntu Server 12.04 LTS on an old machine for a home server project using a static IP address. Running OpenSSH server on it enables me to connect remotely from my Windows7 ...
0
votes
0answers
31 views

Directory / File Permissions [duplicate]

I want to start out by apologizing if this question has already been answered somewhere else and I just haven't run across it yet. I have been searching Ask Ubuntu as well as many other forums for ...
0
votes
1answer
18 views

ssh to a pc under mobile network

My friend is using internet using mobile internet(Airtel). I want to ssh to his pc. I know his ip address and the name servers of his network. How can I ssh to his pc?
1
vote
0answers
32 views

Ubuntu 12.04 server reboot issues after updates

I have a 12.04 LTS ubuntu server (I used the how to forge guide to setup apache, php, postfix, dovecot, bind and ISPConfig). I have noticed a somehow random reboot issue which I have eventually ...
0
votes
1answer
74 views

Xephyr on Ubuntu 14.04 via SSH is buggy?

I tried Xephyr on Ubuntu 12.04.4 via SSH(putty+Xming) X-forwarding running WM(fluxbox, XFCE4), which runs well. However, with Ubuntu 14.04 (server), Xephyr got "Caught signal 11" and quit on the test ...
95
votes
3answers
27k views

How can I break out of ssh when it locks?

I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no ...
0
votes
1answer
510 views

How do I set up a local SOCKS proxy that tunnels traffic through SSH?

Assume I have access to an SSH server that supports tunneling, and I am on a PC that is running *ubuntu, how do I set up a local SOCKS proxy that tunnels the traffic through that SSH server before ...
9
votes
3answers
49k 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
1answer
18 views

Is there a way to limit traffic to just SSH?

I am going to be using my phone as a mobile hotspot so I can SSH from my laptop into my home server, as the phone is my only available data currently. Is there a way to limit the connections on the ...
8
votes
5answers
40k views

How to enable ssh root access on Ubuntu 14.04

I´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn't affect anything.
0
votes
0answers
47 views

Cannot find google chrome terminal command

I'm connecting to my machine at the university using the ssh - X command. I want to launch google chrome from my terminal in order to get access to some website only available through my university's ...
19
votes
3answers
31k views

How do I launch a remote firefox window via SSH?

When I SSH to a remote box $ ssh -X remotebox then start firefox on the remote box remotebox$ firefox and I have firefox running on my local machine, a local firefox window will open. no firefox ...
1
vote
1answer
4k views

Why does the host key verification fail in “connect to server” utility?

I am able to use ssh from terminal but I am not able to use it from "connect to Server.." utility. it is showing the error in the dialog box as below: Cannot display location ...
1
vote
0answers
13 views

I cannot install openssh-server [duplicate]

When I go to install, I get this error: $ sudo apt-get install openssh-server The following packages have unmet dependencies: openssh-server : Recommends: ssh-import-id but it is not going to be ...
0
votes
0answers
18 views

SSHFS tutorial clarification in help.ubuntu.com/community/SSHFS

https://help.ubuntu.com/community/SSHFS describes how to use SSHFS. The description is somewhat ambiguous. I have tried several combinations of the permissions and ownerships of the directories ...
1
vote
1answer
77 views

Configure VPN connection in terminal

I'm trying to setup a VPN connection on a remote box, via ssh, to use my account on IPVanish, this is a guide to configure the connection using the GUI, which is not my case because I need to ssh into ...
0
votes
0answers
8 views

How to connect to a local forwarded port from a third machine.

If I ssh connect into a server for VNC, for example, ssh root@IP -L6500:localhost:5901 I can connect to VNC just fine on that machine (locahost:6500). But if I have a phone on the local network, ...
0
votes
1answer
15 views

can I use scp in same network(wifi) to send file

while reading about file transter in linux I got: We can also move files securely using Secure Copy (scp) between two networked hosts. scp uses the SSH protocol for transferring data. To copy a local ...
0
votes
0answers
20 views

My ssh connecting time is slow. How can I correct this?

My connection was very slow while I was trying connect to a server. ssh -vvv username@server_ip OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config ...
1
vote
0answers
26 views

Setting up a preferred network interface in linux

I need to set up the network interfaces of a linux box running Ubuntu Server. The box will be deployed in an industrial vehicle and will operate headless (i.e. no monitor, no keyboard/mouse). The ...
0
votes
0answers
18 views

Installing ubuntu server using Network Console

I have a bit of a weird situation, I have a laptop (an old Macbook 3,1) with a half broken screen. I want to install Ubuntu server on the computer but it turns out to be quite a difficult endeavour. ...
0
votes
1answer
18 views

Mount and external hard drive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious. I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to ...
0
votes
0answers
11 views

If I turn on the Firewall I cannot connect to the internet

I run GUFW but even on any setting I cannot access the internet if its turned on. Why would this be? I also noticed in the "Listening" box that theres a lot of info going on which I don't understand ...
0
votes
1answer
157 views

ssh command related problem

I am facing problem with the ssh command currently. Earlier, it was working just fine, but now when I am trying to execute the same command, it says, ssh_exchange_identification: read: Connection ...