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
413 views

Using ssh with wallet on KDE

How can I use wallet with ssh keys? I found many different descriptions, I've got ssh-agent running, I've added a script at Autostart/ssh-add.sh: #!/bin/bash export SSH_ASKPASS=/usr/bin/ksshaskpass /...
1
vote
3answers
1k views

Shift running X window (display environment) on SSH X11 forwarding

I want to see remotely some running GUI application without kill the current process, I have tried vnc and xrdp, xrdp opens a new blank session, so it is not for me, vnc is good, but not exactly what ...
1
vote
1answer
1k views

Interacting with PostgreSQL on remote server through SSH tunnel?

I have User A setup on my webserver with it's public SSH key copied over to User B's ~/.ssh/authorized_keys over on my database server. The idea is to use an SSH tunnel to facilitate the communication ...
1
vote
1answer
216 views

How to allow SSH from internet when it is forwarded to a non-standard port

I'm configuring a virtual firewall using Shorewall and have a rule to forward the external port 2222 to internal port 22: DNAT inet lan:192.168.1.2:22 tcp 2222 where 192.168.1.2 is the ...
3
votes
1answer
2k views

Tunnel a whole desktop over ssh to X11 running on OSX

My main workstation is OSX (as I spend a lot of time developing iOS and OSX software), however I use Ubuntu for a bunch of things. I've got Ubuntu running on another machine, and would like to ...
0
votes
3answers
2k views

How to do svn update without password on crontab

I'm new to svn and ssh. I'm trying to do svn update of 5 repositories in my local system every 3 hours on crontab. So, to achieve this I have setup ssh passwordless login using the below steps: 1. ssh-...
0
votes
1answer
99 views

SSH cannot find user directory and fails to login

The connection to SSH seems to work but I get an error and SSH gets closed instantly: It tells me, that it cant chdir to /home/example1 not found The problem is, that example1 isn't even a user and ...
0
votes
1answer
2k views

Operation times out trying to SSH outside LAN i.e. from internet to LAN no connection is established

I run Ubuntu 12.04 and have no success connecting with SSH from "Internet". The router is a TL-MR3420 which is set up to forward requests to one of the NIC's on ubuntu machine (which has in total 3 ...
9
votes
3answers
7k views

Cannot ssh into new Vagrant install of 13.04

I used the Vagrant image for 13.04 from http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box to create a new virtual machine and tried to connect to it ...
0
votes
1answer
2k views

Problem with uploading files with filezilla

I'm running a nginx server on ubuntu server 12.04.3 LTS but unfortunately I'm not being able to upload files with filezilla to it. I am able to open and browse the machine with filezilla but whenever ...
3
votes
5answers
3k views

How to run application from terminal forever? [duplicate]

I start jenkins web server using command java -jar jenkins.war. It works great. When I close terminal the application stops. How to make it run even if I close terminal session ?
0
votes
1answer
416 views

How do I download a file using SVN+ssh link?

I am trying to download the file from the link list svn+ssh://svn@myhost.com/myfile. I have setup private key on my PC, and public key is on the remote server.when I execute the above link command i ...
8
votes
3answers
6k views

How do I import existing SSH keys into Seahorse? [closed]

Is there a way to import existing SSH keys to Seahorse?
0
votes
2answers
417 views

Copying only files without extension via scp

I have a strange situation that I need to solve. In a server I have several files stored, which are named: Area01 Area01.hst Area01.rst ... Area02 Area02.hst Area02.rst ... etc. With some other ...
0
votes
1answer
1k views

How to get response from ssh command using expect

currently I am using following code, #!/usr/bin/expect -- set timeout 60 set username [lindex $argv 0] set password [lindex $argv 1] set ip [lindex $argv 2] spawn ssh $username@$ip expect { ...
7
votes
2answers
11k views

How to check “apt-get upgrade” status after losing ssh connection?

Usually I upgrade my Ubuntu installation through a ssh connection. Sometimes this ssh connection would be lost or I would accidentally close the terminal window. It is possible to check the upgrade ...
0
votes
2answers
3k views

Permission denied error while copying the files to another user directory using WINSCP?

I have a few folder in one of my ubuntu machine in the directory /export/home/ as - user1 user2 user3 Whenever any user login to that machine, it always takes him to that directory as a default. ...
2
votes
2answers
664 views

Is there a way to check if others are logged into server when you are?

I am logged into Ubuntu server via ssh and I would like to know if another user is logged in via SSH as well. Is there a command that I can run to accomplish this?
3
votes
1answer
4k views

How to deny root SSH login + require SSH key for user?

After reading this similar question I'm unclear how to require SSH keys for user, while denying SSH access to root (key or password). I'll use sudo after logging in as a user if I need to be root. I ...
0
votes
2answers
130 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 ...
1
vote
2answers
1k 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
135 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 ...
2
votes
1answer
3k 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 ...
9
votes
1answer
4k 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 ...
0
votes
1answer
7k 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 ...
0
votes
1answer
403 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. ubuntu@...
0
votes
1answer
3k 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 ...
0
votes
1answer
471 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, ...
1
vote
1answer
460 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 ...
1
vote
0answers
465 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 ...
1
vote
0answers
622 views

mount a remote (ssh) usb disk?

My home server has an external USB drive connected. I prefer to keep it unmounted so I don't have to log in if I want to unplug it (for backup rotation). But I'd also like to be able to browse it in ...
0
votes
1answer
285 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 it....
2
votes
2answers
1k 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. ...
1
vote
1answer
55 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 (...
-1
votes
2answers
2k 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
2answers
32 views

conected to wireless but can't access any page

I installed ubuntu 13.04 in an acer apire one notebook. I can access my wireless conection and even i can use ssh but i can't go to any page using firefox or chromium. Where is the problem?
0
votes
1answer
78 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
24k 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 ...
6
votes
1answer
14k views

How to run local shell script on remote server via SSH?

I want to run a local shell script on a remote computer with SSH. How can I do this?
2
votes
2answers
2k views

What is managing SSH keys in Unity, and how do I reset / disable / configure it?

I'm using Ubuntu 13.04, and recently changed my ssh keys. For some reason Unity, or something in Gnome (seahorse?) doesn't seem to be recognizing it. The keys were generated on a different machine, ...
0
votes
1answer
3k 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 ...
0
votes
0answers
49 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 ...
15
votes
5answers
6k views

How do I suppress the “New release '12.10' available” message?

When I ssh into my Mythbuntu box, I get this message: Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64) * Documentation: https://help.ubuntu.com/ New release '12.10' available. ...
0
votes
1answer
255 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 unity-...
3
votes
2answers
10k views

xrdp setup over ssh

Here are the steps to install xrdp on ubuntu 12.04 and get it working: http://www.ubuntututorials.com/remote-desktop-ubuntu-12-04-windows-7/ However, I want a secure xrdp connection over ssh and ...
1
vote
1answer
589 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
362 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 ...
6
votes
3answers
5k views

Cannot use gedit on multiple remote machines using ssh

After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit. To my dismay, when I tried to open gedit on the second ...
0
votes
1answer
2k 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
1answer
259 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 ...