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

learn more… | top users | synonyms (1)

5
votes
2answers
7k 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 ...
5
votes
2answers
30k views

How to fix Permission Denied (Public key) error?

While trying to communicate between my desktop Ubuntu 12.10 and Fedora 19 desktop, I am facing the error of Permission Denied (Public key). I am able to login through ssh from fedora to Ubuntu, but ...
5
votes
4answers
7k views

How do i transfer files over ssh after sudo?

I have access to a box over ssh and there are some files i'd like to transfer to another machine, but those are only accessible under another account so if i ssh with 1, then sudo 2 i can browse them ...
5
votes
2answers
643 views

How to access open terminal with running process using SSH?

I have two computers with Ubuntu 12.04 and 13.10 both desktop versions. On the 12.04 I have opened terminal and process running in it. The process is displaying some states information and allows ...
5
votes
2answers
10k views

Encrypting Files and folder through terminal

I am new to part of encryption on Ubuntu . Is there any way to encrypt files and folder with password from terminal ? without using truecrypt or cryptkeeper etc.
5
votes
2answers
3k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
5
votes
2answers
11k views

How do I SSH and remove all previous SSH activity history?

I want to remove any and all activity logs for SSH remotely. How do I get to it? My account on the remote server doesn't have admin privilege, and as such I just want to remove user to user ...
5
votes
1answer
6k views

Shutting down a computer remotely

What ways are there to shut down a computer remotely? My desktop is running Ubuntu 11.04 desktop edition and when I try to shut it down remotely using ssh, it doesn't actually work. I used the ...
5
votes
2answers
783 views

Why are there two ssh daemons running in top?

I have Ubuntu 10.04.1 , SSH server is running fine, but I wonder, why there are two sshd instead of one? Isn't one multithreades daemon enough? Is this an option?
5
votes
2answers
665 views

Using mv & cp on a headless server (SSH timeout interferring?)

I've recently set up a headless server to back up a number of very large film & editing files. I SSH into the server and - following some best practice guides I found around - I've tightened ...
5
votes
3answers
7k views

How to copy files from remote server to local machine?

I use ssh mylogin@server to connect to a remote server... I am wondering how to copy the whole files from there to my local machine... One reason to do this, is that, I could not compile a latex file ...
5
votes
3answers
512 views

Use Linux commands on windows directories through ssh

Since I'm stuck with windows at work. I'd like to use a Ubuntu Server machine which i access through SSH from a windows machine to manipulate files on the windows machine. I've been moving files up ...
5
votes
1answer
4k views

How can I configure dbus to allow ssh-user to suspend server?

I try to suspend my server using dbus and UPower. The server runs Ubuntu LucidLynx 64bit. While everything works fine if I am sitting directly at the machine, it won't work via ssh. If I connect to ...
5
votes
5answers
8k views

host is able to resolve a hostname, ssh isn't

I'm trying to connect from a 10.04 system to a 12.04 system via SSH. Strangely enough the rules in resolv.conf seem to take effect only selectively, which leaves me puzzled. Observe: [2] user@mach:~$ ...
5
votes
3answers
3k views

Can I ssh into my account without invoking .profile?

I want to ssh into my account, but I don't want the current version of my .profile login script to be executed. Is there a way to log in without running .profile? (Disclaimer: I found a work-around ...
5
votes
2answers
6k views

How do I force SSH to only allow uses with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the ...
5
votes
2answers
15k views

Connection timeout for ssh server

I'm trying to setup openssh-server, but I'm having some issues connecting. I changed the port to something non-standard (57757) and then set my router to forward to that port. On my LAN, I'm able to ...
5
votes
2answers
4k views

How to enable SSH server in recovery mode?

How to enable SSH server in Ubuntu 10.10 Desktop Edition recovery mode? My display is not working (broken video card). So how can I do that "blindly"? :)
5
votes
1answer
5k views

Couldn't connect to accessibility bus

When using ssh with X11 forwarding, I am getting various errors and warnings when running gui applications. As an example, any time I am running gitg, I get the following warning: ** (gitg:15904): ...
5
votes
1answer
2k views

SSH to Server, Execute Command, and Maintain Connection

I want to write a script that opens a terminal with different tabs, logon to a server using ssh in each tab and execute a command in each tab. For example: htop. The below script opens a terminal ...
5
votes
3answers
3k views

How can I run SSH as a different user on the same Ubuntu installation?

I am creating a script which runs a series of command that would download a website to a machine and sets up everything. So most of the commands require root access. For example adding a vhost in ...
5
votes
1answer
11k views

gedit “cannot open display” , on remote computer , using ssh - Ubuntu 12.04 [duplicate]

Possible Duplicate: How do I run a graphical application on a remote server when logged in through ssh? I am getting the following error message when using ssh to log into a remote ...
5
votes
6answers
53k views

ssh -X “Xt error: Can't open display: :0.0”

I'm trying to open xterm on my remote server (Ubuntu Server 10.04) with ssh: ssh -X name@machine xterm but the error returned is: xterm Xt error: Can't open display: :0.0` I googled and tried ...
5
votes
1answer
1k views

Add an SSH option to an sftp URL in nautilus

I'm connecting to a remote server in Nautilus using an URL of the form sftp://server.com. However, due to a thing with that server I need to add an option when connecting via SSH, otherwise the login ...
5
votes
3answers
649 views

Can I log to a non-default shell?

I love fish. I have a nice Ubuntu 8.04 Server running some services. So I edited the /etc/passwd file, as I did in the past, to change my default shell from bash to fish. And ,yes, I made I typo (BTW: ...
5
votes
1answer
2k views

how to backup/restore the host key in ssh server

I have a ssh server, and some clients have login it via key login. So the host identity of server has been stored in the known_host of clients. I want to reinstall the server, but I hope it never ...
5
votes
1answer
6k views

Bizarre SSH Problem - It won't even start

I recently got Ubuntu 12.04 Precise, got it up and running with some MediaWiki software, static IP on the box and router and was able to access the main page even from a cell phone. Everything seemed ...
5
votes
1answer
2k views

Open a new tab in gnome-terminal and have it automatically connect via ssh

I find myself ssh-ing into another machine a lot at work. So much so, that I use it more than simply using the terminal on my own desktop. I know that (normally) when I open a new tab, it will ...
5
votes
1answer
1k views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
5
votes
3answers
6k views

How can I force SSH to give an RSA key instead of ECDSA?

Upon the first time accessing a server, how can I force SSH to give me the RSA key and automatically store it if the user approves? Presently it is offering me the ECDSA key. Because I already know ...
5
votes
2answers
2k views

Using Juju returns “ssh invalid key” error

Can someone tell me with piece of code is executed when i do: juju status. I'm running Juju on OpenStack and I want to deploy some services but when i do juju status it returns me an SSH INVALID KEY ...
5
votes
1answer
189 views

How to share WiFi/hotspot over SSH tunnel

I have created a SSH tunnel on my laptop connected to LAN. I want to share the internet via WiFi/hotspot, but over the SSH tunnel. I mean any computer using this wireless should connect to the ...
5
votes
2answers
12k views

Git ssh error: port 22: no route to host

I tried to use set up git and use it for github, then when I followed the help doc, but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this command: ssh -T ...
5
votes
1answer
8k views

SSH into Ubuntu VM remotely

I dont have much experience on networking or linux, but I'm trying to ssh into an Ubuntu virtual machine from outside my home network. The Ubuntu virtual machine (VirtualBox) is running an a Debian ...
5
votes
1answer
191 views

How do I get rid of a notification?

I occasionally run applications that use the transparent notifications in the Ubuntu 11.10 desktop and they generally work fine for me except for when I'm running them over ssh with X11 forwarding. ...
5
votes
1answer
2k views

How do I get an ssh -X session to use the host's sound settings

I have a USB sound card on a host system which has all my music, and to which I have connected my living room speakers. I would like to use my laptop to ssh -X into that system and run my favorite ...
5
votes
2answers
1k views

Server is dropping SSH connections, then not allowing me to log back on

I have an ESX box which I have loaded with two Ubuntu Server machines. During setup, I chose no additional packages to install as I just wanted a lightweight machine for testing. The first thing I ...
5
votes
3answers
1k views

How do I inhibit suspend from the command line?

Is there a way to inhibit suspend/hibernate from the command line. I want to ssh into my home computer and not have it suspend while I'm working on it.
5
votes
2answers
1k views

Can not log into SSH unless logged in locally

I just set up pubkey authentication on my server (running ubuntu server 10.10). If I am logged in to the server locally (at the box), then I can ssh into the server fine (from another machine). If I ...
5
votes
3answers
3k views

ssh tunnel and receiving Web pages through the tunnel

I've tried to create a tunnel torward a client passed through a server, using the following command ssh -X -f admin@IP_server -N -L 4444:IP_client:80 but when try to open client:80 by firefox ...
5
votes
3answers
429 views

How do I set up a server for SSH?

At my workplace (a university) we have two Ubuntu servers. One is a teacher server and the other is a student server. I am currently setting up a new server to replace the existing teacher server. ...
5
votes
1answer
1k views

Turning off XON/XOFF when SSHing via PuTTY

I have a fresh install of Ubuntu 9.10 on a rented dedicated server. When I ssh to it using PuTTY (on a Windows machine), I find it responds to Ctrl+S and Ctrl+Q as XON/XOFF transmission control ...
5
votes
3answers
6k views

pgadmin3: Unable to initialize gtk, is DISPLAY set properly? [closed]

I'm having some trouble getting pgadmin3 to run on a remote server. I'm logging in to the server using SSH with the -X option. When I first installed pgadmin3, I was able to launch it using the ...
5
votes
4answers
9k views

Open another terminal window with the same SSH session as original window

Is there a way to open a terminal window ( or tab ) with another instance of an open SSH session ? EDIT: I have a terminal window with a remote ssh session into a server. I want to open a new tab ...
5
votes
1answer
3k views

How do I secure vnc/desktop sharing?

I have a bunch of laptops I need to set up for our support dept and I need to be able to access/monitor them at all times. The laptops run ubuntu 11.10 gnome shell 3.2 and all have the desktop sharing ...
5
votes
3answers
294 views

Setting up ssh to a url

I have enabled ssh on one of my computer at home, so I can get to it from my main IP. No I have a domain where I forward it to my ip. Lets say this website is called melikecandycoveredfrogs.com ...
5
votes
3answers
798 views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
5
votes
1answer
1k views

How do I setup multiple minicom / Cisco console server sessions without too much hassle?

I'm working on my CCNA and have 4 switches & 4 routers which make up my main lab. I bought two quad port USB to Serial (1 USB to 4 Serial) Adapters onto the ends of which I've attached 8 Serial ...
5
votes
2answers
788 views

Precautions during SSH [duplicate]

Possible Duplicate: How can I audit users and access attempts to SSH on my server? I recently had to give away my Ubuntu 12.10 root password to one of my friends so that he could SSH into ...
5
votes
1answer
621 views

Autoproxy's auto mode doesn't work

I don't if this is the right place to ask this question, so please let me know if I can get better answer elsewhere. I just moved to Ubuntu 11.04 from Windows Vista. I've been using Firefox ...