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

logging ssh clients session [duplicate]

Possible Duplicate: Log SSH activity I need to implement a secure server to be the only source for connecting to routers and switches in the lan. The only task that that is getting me ...
56
votes
3answers
68k views

ssh: automatically accept keys

I've written this small utility script: for h in $SERVER_LIST; do ssh $h "uptime"; done When a new server is added to $SERVER_LIST, the script is stopped with: The authenticity of host ...
1
vote
2answers
3k views

SSH not working from outside network

Ok.. First off my ISP does not block ports. I run web server just fine from another machine. I have port forwarded port 22. I can access within network but not out of.. I.E. my android. I get "The ...
6
votes
3answers
5k views

How to manually trigger ssh add dialog box?

Running ssh-add at the command line no longer unlocks the ssh keys properly on my system (Ubuntu 11.10 with Unity). Even after I've run ssh-add, when I ssh to a server, I get a dialog box popping up ...
1
vote
2answers
574 views

Reliable way to create secure tunnels from startup on an ubuntu laptop?

I'm looking for a reliable way to start a secure tunnel at boot on a laptop. This tunnel will not be needed by other parts of the boot process, but could be needed at any subsequent time by a user. ...
4
votes
3answers
338 views

is it possible to ssh into ubuntu server with keys and from another computer using password?

I have ubuntu server at home, and I use SSH keys to log in via terminal from my laptop. Rarely, but mostly from work, I need to access this server, but I dont want to copy keys on my work laptop - Id ...
0
votes
0answers
26 views

Send login details to Login Screen via ssh [duplicate]

Possible Duplicate: Remote login with graphical display manager (GDM, LightDM) I have set up wake up on lan on my desktop machine. What I want now is, when I wake up my ubuntu machine from ...
0
votes
2answers
1k views

Startup a Ubuntu FTP and SSH server without logging in

I have a Ubuntu Server 11.10 box, which I would like to run "headless", and without a keyboard, mouse or display. Is it possible that immediately after startup the machine logs into an account, or ...
1
vote
2answers
663 views

Is it possible to run a command on the client when a ssh session is closed?

I know that I can run a local command when I establish a ssh connection, something which is quite useful for setting up terminal title for example. Still, I'm looking for a solution to run a command ...
1
vote
1answer
262 views

Xprograms over ssh, nothing happens

I'm new to SSH and trying to setup a connection to run Xapplications through my school. I made the login perfectly fine but once inside, i export the display to my ip ie: export DISPLAY=MYIP:0.0 ...
0
votes
1answer
373 views

Remote ssh configuration problem

My basic problem is that I would like to launch graphical application (eg firefox) on a remote computer (at work) from my computer at home. The computer at work (WPC) is behind a firewall. So I'm ...
0
votes
2answers
132 views

Prompt not working when logged in as specific user

Hello I am running ubuntu 11.10 and access it via ssh with putty. My problem is that when I log in I get the prompt username@server.com:~$ and my arrow keys do what the y are supposed to. When I ...
2
votes
2answers
17k views

Unable to access the server via SSH?

when I am trying to access the server through ssh it says: ssh: connect to host xx.yyy.zzz.x port 22: Connection refused and on the server in auth.log it shows following log entry: Address ...
0
votes
1answer
95 views

Set target disk and reboot remotely

I want to be able to set my target disk and reboot in windows remotely, can this be done? I have SSH set up and am able to log in from outside of my network.
1
vote
2answers
894 views

UEC - Unable to SSH into instance, asks for password

I am attempting to set up a private cloud using Ubuntu 10.04.4 Server. I am following the tutorial at http://cssoss.wordpress.com/2010/11/26/eucabook-v1-1/ . All steps go on perfectly apart from that ...
5
votes
2answers
7k views

Unable to ssh out anywhere - ssh_exchange_identification

I have a setup where I'm running Ubuntu 11.10 as a VirtualBox guest under a Windows 7 host, behind a restrictive corporate firewall. I have set up NAT from the host port 22 to Ubuntu's port 22; IT ...
4
votes
3answers
6k views

default shell for remote commands through ssh

I have the following setup on my ubuntu 10.04 box ~$ echo $SHELL /bin/bash ~$ grep $USER /etc/passwd ubuntu:x:1000:1000:Ubuntu,,,:/home/ubuntu:/bin/bash However, when I run a remote command, zsh ...
3
votes
1answer
7k views

Broken ssh - “Write Failed: Broken Pipe” and “setresuid 1000: Resource temporarily unavailable”

I seem to have broken ssh on my machine! If I run: sudo /usr/sbin/sshd -d I get: debug1: sshd version OpenSSH_5.8p1 Debian-7ubuntu1 debug1: read PEM private key done: type RSA debug1: Checking ...
4
votes
2answers
3k views

How to automatically run commands on SSH connection?

I have some Amazon EC2 instances that run Ubuntu 10.04.1 LTS. Every time I connect to those instances I run a couple of simple commands, like a cd <repository>, a git status etc. How can I add ...
8
votes
5answers
13k views

Unlock all private keys on Ubuntu, entering password only once at login

I login to Ubuntu 12.04 using a password. Later on, when I use my browser(Chrome), I'm asked for a password to unlock the keychain so that the browser can access my saved credentials for various ...
0
votes
1answer
769 views

Connect to MySQL on remote server from inside python script (DB API)

Very recently I have started to write python scripts that need to connect few databases on mySQL server. The problem is that when I work from office my script works fine but running a script from my ...
18
votes
3answers
45k views

How to setup passwordless SSH access for root user

I need to configure a machine so software installation can be automated remotely via SSH. Following the wiki, I was able to setup SSH keys so my user can access the machine without a password, but I ...
1
vote
2answers
367 views

Ubuntu Server 11.10 64bit - FTP

I am new to Linux as due to a requirement at work we are trailing Splunk which runs better un Linux. So I have installed Ubuntu Server 11.10 and put it in the DC with SSH access. However, I have ...
1
vote
1answer
1k views

How do you Xforward windows using ssh?

How do you use Xforwarding through SSH beetween two ubuntu pc's?
1
vote
1answer
265 views

What are the common pitfalls that would stop Authorised Key SSH access, and how do I find and correct for them?

EDIT: This question was reworked to make it more useful to the community and less specific to me. Questions seem to come up reasonably often regarding ssh and problems with authorised keys access, ...
0
votes
1answer
624 views

How to keep SSH server running with laptop lid closed

I've changed the power management settings on my Ubuntu 10.10 server laptop to keep running with the lid closed but I loose any attempts to connect to it by ssh. Is there a way to change this so that ...
5
votes
1answer
2k views

Enabling passphrase on an already existing private key

I already have a ssh private key without a passphrase. As I have started to use it to login to a few critical and secure systems, I need to use a passphrase on my RSA private key. How can I enable ...
0
votes
1answer
347 views

where is the problem with port 22?

I want to connect with my university and use a cluster. I connect via vpn with university.Now i want to connect with the cluster with ssh protocol. I have the ip,so in a terminal i write "ssh ip" (of ...
9
votes
4answers
13k views

Log SSH activity

All, I have an Ubuntu host that accepts SSH connections. How can I log all commands that are run on a specific account that logs in via SSH? Thanks
0
votes
2answers
9k views

scp / ssh log on ssh-server

I work in college network. I have shared my computer password with few friends. So any of them can ssh/ scp on my system. Is there any way to generate the log of connection ( if some one make ...
2
votes
1answer
594 views

How to give restricted access to user

I have a home PC and I created a reverse port forwarding to a server. Now I would like to go access to some people to the Home PC through this server. I would like to control the access of the user on ...
4
votes
2answers
2k views

Why does X-forwarding firefox take so long?

I ssh -X from Ubuntu to an Ubuntu Server, on which I've installed X, x11-apps and Firefox. Running xeyes shows the eyes, so I know that the X forwarding works. But when I try firefox, nothing happens: ...
15
votes
1answer
17k views

How do I tunnel and browse the server webpage on my laptop?

I run a web app in one of my lab servers, and I have already setup X11 Forwarding on those machines. Other lab members can tunnel through SSH, and browse that web app on their local browser at home. ...
2
votes
1answer
567 views

How do I setup ethernet-only SSH?

On my pair of Ubuntu systems, a 3 MB file transfer via Nautilus 2.32 over SSH takes about 15 seconds between two computers with identical wireless cards 2 meters apart. Larger files take ...
1
vote
1answer
515 views

route terminal server client over ssh

I want to access a virtualbox guest from Lubuntu thrue "terminal server client" (rdp on 3389) How can I route (from Lubuntu) my "terminal server client" over a ssh connection I establish before to a ...
0
votes
1answer
3k views

How to setup login your SSH server with Public/Private key authentification? [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I am having a debian based linode server. All the time if need to login to remote server i do ssh user@ip and then I ...
2
votes
2answers
9k views

How can I copy/paste files in the terminal window (SSH)?

I am new to ubuntu and my friend told me to SSH into my IPod so i can put/remove songs on it. I've been succesfully ssh'ing into it but i do not know how to copy and paste my songs from my Home ...
7
votes
2answers
43k views

How to solve: “Connect to host some_hostname port 22: Connection timed out”?

I have two Ubuntu machines. Both have openssh-client and openssh-server installed on them. ssh-ing from machine G (fresh Ubuntu 11.10 installation) to machine K works great. But ssh-ing from machine K ...
1
vote
1answer
739 views

How can I improve the SSH file transfer performance?

I have two computers, both on Ubuntu 10.10 (Maverick). One is an Intel E6500 (2.93GHz/2GB/2MB cache) and the other is an E8400 (3.0GHz/2GB/6MB cache) connected via an ethernet cable. Both have ...
20
votes
10answers
45k views

Server keeps asking for password after I've copied my SSH Public Key to authorized_keys

I have an Ubuntu Server, running in a Cloud. I created a user (git). In the folder /home/git, I have created the .ssh/ dir, and the authorized_keys file. But, when I put my SSH Public Key in the ...
1
vote
1answer
37k views

Can't Login to my Server via SSH, and the password is correct

I'm using Linode, and I've asked around on the IRC channels, but no one seems to know. I've logged into my server via LISH (reference), and I used the correct password, and everything went fine. ...
3
votes
1answer
1k views

How can I run qemu with KVM over ssh?

When I run qemu -cpu kvm64 -snapshot -hda binary.img at a local console, the image boots and runs as I expect. However, when I log in via ssh -C -X, I see: $ qemu -cpu kvm64 -snapshot -hda binary.img ...
1
vote
2answers
611 views

asked for sudo password, post login to bash shell

With 11.10 when any of my users with the bash shell login upon success they are asked to provide their sudo password e.g. Last login: Fri Jan 20 19:13:36 2012 from x.x.x.x [sudo] password for *user*: ...
1
vote
1answer
557 views

Slow server on web-based writes and SSH login

I have an Ubuntu 10.04 server that's going a bit slow. It's very slow to log in via SSH, and it's very slow when making edits via a Mediawiki instance installed on there. For normal read access to ...
2
votes
3answers
18k views

SSH “Host key verification failed”

I am supposed to put up a file on a server from my own computer with ssh as a school assignment. It has been a slow process but now I'm stuck. I have googled but not found anything that has helped. ...
1
vote
1answer
87 views

problems doing remote admin via ssh

I am connected to an Ubuntu host (10.04.3 LTS) via ssh -X. All is ok. However, I cannot do any administrative tasks via System->Administration->xxx, such as adding a User, because the system never ...
14
votes
5answers
29k views

Is it possible to SSH through port 80?

I am behind a network firewall that doesn't let me ssh through the default port. Because of that, I can't push any bzr branches to my repository. I would like to know if it is possible to somehow ...
2
votes
1answer
610 views

ssh as root to a ubuntu server

My public key was recently added to a ubuntu server so that I can remotely log in as root. However, when I log in as root. I cant do some simple tasks like mkdir . Is there something I am missing ...
3
votes
1answer
570 views

encfs home directory: ssh access dismount after a while

I've setup an encrypted homedir according to this EncryptedHomeDirectoryHowto. To gain ssh access I've added auth required pam_encfs.so to /etc/pam.d/sshd $ cat /etc/pam.d/sshd | egrep -v ^# auth ...
1
vote
1answer
2k views

Want to write a simple SVN update bash script

I want to write a simple bash script that will update an SVN working copy in a given directory. The repository is accessed with the svn+ssh protocol. The basic process this needs to follow is: ...