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

learn more… | top users | synonyms (1)

1
vote
2answers
588 views

How to set up an old laptop as a wireless terminal to the desktop

I have searched countless phrases to find an answer and can't quite figure this one out. It is to my understanding that (as it was many moons ago at universities and the like) you can still use one ...
1
vote
0answers
94 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
6
votes
2answers
12k views

How set the Message of the Day (MOTD) as Ubuntu Server?

I have this in my Ubuntu SSH Banner Message: Welcome to Ubuntu 13.10 (GNU/Linux 3.4.43+ armv7l) * Documentation: https://help.ubuntu.com/ No mail. Last login: Mon Dec 2 08:25:39 2013 I'd like ...
2
votes
1answer
249 views

sudo emacs crashes with tramp when I start a line with /

I run emacs in command line [-nw] on ubuntu 12.04 as root. If I start a line with '/', emacs freezes for a while and displays "Tramp: Waiting for prompts from remote shell". please note that I don't ...
4
votes
2answers
1k views

How do I configure which programs go through the OpenVPN tunnel?

My institute has an internal network that can be accessed via a VPN server. It s turned on with a modprobe tun followed by a service openvpn start (which asks for remote authentication) I need ...
1
vote
3answers
1k views

Ubuntu 13.10, Perl complaining about setting locale

I'm getting rather annoyed with Ubuntu 13.10. I need to go about fixing locales on my server, or else I see junk like this happening: perl: warning: Setting locale failed. perl: warning: Please check ...
8
votes
1answer
2k views

How to remove legal notice from MOTD / Banner for non-root users

Problem: The following text is shown for all non-root users when logging in via SSH: The programs included with the Ubuntu system are free software; the exact distribution terms for each ...
3
votes
0answers
251 views

Very slow speed while mounting via SSHFS

My host is ubuntu 12.04. My guest is vanilla 3.0.33 kernel with custom rootfs. I have encountered the subj problem, while mounting host folder on the guest machine via sshfs. sshfs ...
0
votes
1answer
4k views

SSH - How to force execution of a script ( /etc/sshrc , ForceCommand, .. ? ) on login but still allow execution of the client's ~/.ssh/rc?

As far as i know upon SSH login the following files are executed [SERVER] /etc/environment [Client] ~/.ssh/environment -> can be locally overriden by "SSH_ENV" environment variable -> will ...
1
vote
2answers
1k views

Treat ssh terminal like it is local?

I'm trying to work on a computer remotely, but some of what I want to do involves calling GUI programs. I want them to open on the physical display of the remote laptop. Essentially my question is ...
0
votes
1answer
264 views

Terminal freezes on running apt-get or vim

I am using Ubuntu 13.04 on my laptop. I ssh to my EC2 instance which is running Ubuntu 12.04.3 and every time I run sudo apt-get update, it prints some lines and then the terminal freezes. ...
0
votes
1answer
351 views

How to setup portforwarding

I have the following setup. Local -- server A -- server B I need to scp, ssh from Local to B. What I do now is I scp/ssh to A and then from A to B.I would like to know how to setup portforwarding, ...
0
votes
1answer
2k views

Remote Ubuntu 12.04 desktop cannot display X on local laptop

I have an Ubuntu 13.04 laptop and an Ubuntu 12.04 desktop. I want to be able to open and see images, windows, and pdf files that are located on the desktop via remote access from my laptop. When I ...
1
vote
1answer
1k views

setup Gitlab CI

I have setup Gitlab in ubuntu server, it's working fine. I access Gitlab by url http://123.456.789.100 and Gitlab login details username:admin@local.host password:123456 Then I wanted to set ...
1
vote
1answer
169 views

Passwordless ssh cannot accept the key

I'd like to connect 4 hosts with paswordless SSH. I generate public RSA key with ssh-keygen command, then copy this keyfile to the other machines with ssh-copy-id -i ~/.ssh/id_rsa.pub @ command. When ...
2
votes
2answers
822 views

SSH connection hangs with packet loss

I am trying to connect to a server at work using ssh after having established an openvpn connection. This worked perfectly for months up till yesterday. Since of today the ssh user@server just hangs. ...
0
votes
1answer
46 views

“ssh-add ~/.ssh” only loads one identity when it should load all of them

me@ubuntu:~/.ssh$ ls id_rsa id_rsa.pub known_hosts two_rsa two_rsa.pub me@ubuntu: ssh-add ~/.ssh me@ubuntu: ssh-add -l 2048 7f:76:9d:b4:ae:f0:72:dd:36:c4:25:02:e0:b5:12:a6 /home/me/.ssh/id_rsa ...
0
votes
1answer
259 views

Can't make a 2nd SSH key login

So a few months ago I setup key based login on my server so that it only accepts key based logins. No passwords ever. For my main user I have a key which I keep in my .ssh folders so I can login to ...
1
vote
1answer
230 views

Why is ssh X-Forwarding of browser not working for internal IP addresses?

I want to access my private Ubuntu server at home during lunch break at and from work. The problem was, that at work, the SSH port is blocked by the firewall (default setting). So I changed the ...
0
votes
1answer
61 views

Move two levels higher over SCP

I am scping into a virtual server and need to copy some files into the /var/www/ directory so apache2 can serve 'em up. However, by default, the files that I upload go into the users dirctory. I need ...
0
votes
2answers
16k views

X11/SSH issues “wrong authentication”

I've been having issues getting X11 to work lately - several hours of googling and trying various fixes have got me nowhere. Here's the specifics: I am trying to log in to a department computer ...
1
vote
0answers
361 views

How To Configure Multiple Virtual Machines As An Internal Network Via SSH

First of all, I am using Windows 7 as a host. Then I install Ubuntu 12.04 Guest under VirtualBox. Then I get an access to the other four virtual machines (also Ubuntu 12.04 Guest) via ssh by running ...
0
votes
1answer
2k views

Remote access a dynamic ip address on a 3g dongle?

I'm new to Ubuntu and trying to figure out if it's possible to have a remote access using ssh keys on a 3g dongle? Is there any possible way? Maybe using a 3g wireless router? How to set-up? Can I ...
1
vote
0answers
95 views

backup dedicated server runing ubuntu 10.04 and plesk 11.01 prior to update os to uduntu 12.04 [closed]

i would like to backup my dedicated server which is my web server hosting various sites and email, so that I can update the os to Ubuntu 12.04, and basically restore back to 10.04 if things go wrong. ...
0
votes
0answers
48 views

What is the default SSH password for UBuntu 12.10 [duplicate]

Honestly, it's late for me I just want to know the password. I don't want to set up keys or anything. I understand that it is more secure to have no password and just allow access from certain ...
2
votes
1answer
26k views

remote SSH root login with Ubuntu 12.04

I'm pretty much a novice with Ubuntu, still exploring. I have a VPS server. I was able to set-up two PPTP VPNs with Ubuntu 11.04 but now I'd like to try my hand at an IPSEC/L2TP connection. However, ...
1
vote
1answer
4k views

How to carry audio over SSH? [duplicate]

Is there a way to carry audio over ssh? Say after connecting to remote machine through ssh -X I opened a browser and want to watch a youtube video. Currently I could only able to watch the video ...
1
vote
1answer
406 views

Opening and controlling a window over ssh

I have a raspberry pi to which a monitor is connected. I have ssh'd into this raspberry pi from another box. What I want to do now is: Open a window (ie a browser) on the monitor connected to the ...
0
votes
2answers
232 views

SSH login, how to set keys to user accounts

I have 3 people with 3 windows machine and 1 ubuntu 12.04 server. I have created each user account and added them to the sudo group. I have copied the public keys straight from puttygen straight into ...
0
votes
1answer
263 views

How to make sshd create non-existing user when using kerberos?

I am setting my sshd to use kerberos auth. Everything was fine until I actually login via ssh. I got invalid user. If I added the account to the server running sshd, then I could login using password ...
3
votes
1answer
575 views

How do I make Home and End work in PuTTY SSH with fish shell?

Years ago, an Ubuntu update broke this and I've never found a solution. I have fish as my default shell. Ubuntu 12.10 Locally (Gnome Terminal), Home and End keys work fine in both fish and bash. ...
0
votes
2answers
214 views

How to login remotely using SSH

When I'm trying to login remotely using SSH, it asks something like: The authenticity of host '192.168.0.4 (192.168.0.4)' can't be established. ECDSA key fingerprint is ...
-1
votes
2answers
951 views

setup rsync to delete files from my remote server once they have been successfully transfered to my local machine

I need help setting up rsync to transfer files from my remote server to my local machine and then delete the files form the remote server once they have been moved successfully to the local machine. ...
0
votes
1answer
223 views

SSH : connection refused after installin freenx

I have my server with Ubuntu-3.10-X64 with working connection and ping; then i installed FreeNX server on my server; then I restarted. After that I can't connect to my server from my laptop using ssh ...
4
votes
2answers
381 views

Share SSH Session at login

Hi there im trying to give some support for a co-workers im making a reverse ssh tunnel from remote machine to one of my cloud servers. I want to control remote machine with the reverse tunnel but at ...
1
vote
2answers
521 views

Reverse-i-search doesn't continue

I wanted to use the reverse-i-search as usual by pressing Ctrl+R to search my last ssh command. When I tried, I was only able to write "ss" but not continue with "h". Additionally when I hit Ctrl+H ...
0
votes
1answer
557 views

Can't ssh to instance

I have a linode instance, I was successfully connecting to it via ssh. But I've decided to rebuild my instance and then I can not connect to that instance via ssh. The linode works correctly because ...
0
votes
1answer
747 views

ssh command history and “autocomplete”

I need to work with ubuntu server remotely using ssh. I have only basic knowledge about linux administration, so it is difficult to work from shell. But any way... When I connected as root via ssh ...
1
vote
1answer
746 views

System hang when using SSHFS

This is just a quick note that I want to share with others. It is about the problem that I encountered with my office machine. It was hanging continuously when ssh mount was used. The main problem is, ...
0
votes
2answers
92 views

Ubuntu server and services

I've been using Linux+Plesk Virtual Server as a web server for a while, but I want to give a try on doing it manually, so my question is: I'll have a server which is: 80GB HDD, 4GB RAM, 1TB Bandwith, ...
0
votes
2answers
8k views

Ping works , but unable to do ssh

I disabled the firewall with sudo ufw disable, I can ping the server, the server can ping me but I can't ssh to it: root@ubuntu:/home/acme# ssh 192.168.1.6 ssh: connect to host 192.168.1.6 port 22: ...
0
votes
1answer
813 views

Ubuntu UI unresponsive but can ssh in, how do I log out the remote over ssh?

I want to log out the user session of a remote Ubuntu 12.04 x64 (laptop) by ssh'ing and running a command. I know I can reboot with a simple sudo reboot but don't want to if I can help it, I'd ...
0
votes
1answer
892 views

How do you preseed an ssh key?

I tried this: d-i preseed/late_command string mkdir -p /target/root/.ssh d-i preseed/late_command string cp /cdrom/id_rsa.pub /target/root/.ssh/authorized_keys d-i preseed/late_command string chmod ...
0
votes
2answers
65 views

SSH- Starting an application on client instead of server

I am facing a weird problem. When I log on using ssh to my server start firefox there, ideally it should start firefox on that machine. However, it is starting firefox on my machine and not the cliet. ...
5
votes
1answer
16k views

ssh-add command does not add my identity to ssh-agent

I just installed ubuntu 13.10 and I was about to add my identity to my ssh-agent so I open up a Terminal and did this bjorgvin@buntu:~$ ssh-add -l The agent has no identities. bjorgvin@buntu:~$ ...
0
votes
1answer
237 views

user permissions in shared folder [duplicate]

I have a pair of users on an ssh Server. lets call them UserX & UserY. UserX has the home Dir /home/userX UserY has the home Dir /home/userX Both are members of the userX group. UserX has no ...
4
votes
1answer
9k views

What is the difference between the RSA, DSA, and ECDSA keys that ssh uses?

In my /etc/ssh/ directory, I can see three that I have three different types of ssh keys: -rw------- 1 root root 607 Oct 4 22:43 ssh_host_dsa_key -rw-r--r-- 1 root root 623 Oct 4 22:43 ...
0
votes
2answers
111 views

took 8 hours to transfer 12 GB

I needed to transfer vmware images of an operating system from one machine to another in my network,it took 8 hours bottom of image you can see time taken, the connection was done using ssh (encrypted ...
0
votes
1answer
664 views

SSH: Dynamic DNS vs Port Forwarding

I recently set up SSH on my newly installed ubuntu, and already set up public key authentication and know that it works properly remotely on my local network. Now I decided that I would make it ...
0
votes
1answer
217 views

how to use unity-scope-sshsearch?

I used unity-lens-sshsearch on 12.04, 12.10 and 13.04. But after upgrading to 13.10 it's not working any more. (Super+H does nothing) As the lens package is not available on 13.10 I installed ...