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

Simple ssh examples for Ubuntu

I would like to use ssh to access the shell of another Ubuntu computer and issue a few commands. I'm interested in how to form the shh command in the following scenarios. To keep it simple, I will ...
0
votes
1answer
1k views

Cannot ping between computers, but I can connect (only one way though)

I am new using Linux, so I would really appreciate a simple as possible answer. I cannot ping between two computers, neither to nor from. I can ssh from one computer to another, but not the other way ...
0
votes
1answer
2k views

Cannot ping/ssh computers in LAN (including gateway) but can still access the internet

Hello people from AskUbuntu: As the title says, even though I can access the internet, for some reason, I can't ssh/ping computers in my LAN. In addition, only computers from outside the LAN can ssh ...
1
vote
1answer
3k views

Ubuntu server remote ssh troubles

I have a following problem: I can't connect to a freshly deployed ubuntu-server 11.10 through SSH from a remote host. Error: Connection timeout. Troubleshooting so far: Connect locally - Connecting ...
5
votes
1answer
195 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. ...
8
votes
2answers
27k views

SSH connection getting refused

I am new to linux and I am trying to establish a SSH connection with my friend's PC in the same LAN, but I am getting "ssh: connect to host 192.168.71.70 port 22: Connection refused". Both ways are ...
6
votes
3answers
4k views

How to put all traffic and on one interface and some traffic on another interface

At the moment I'm working at a company and the problem is they allow SSH on wifi but not on their wired network. At the moment I push everything through a vpn, but that gives overhead on an already ...
4
votes
1answer
4k views

ssh client takes a long time to respond [duplicate]

I have 2 servers, A & B, both running CentOS 5.7. If I ssh using Putty from Windows 7 to server A or B, the password prompt is quick But if I ssh from Ubuntu 11.10 to server A, the password ...
6
votes
4answers
54k views

how do you stop/restart ssh?

How do I stop/start ssh in version 11.10? I've tried /etc/init.d/ssh restart sudo service ssh restart sudo restart ssh I get errors every time... arrrr!
4
votes
1answer
4k views

How To SSH From Host (Win7) to Guest (Ubuntu Server 10.04)

I have recently installed Ubuntu Server 10.04 LTS on my machine that has Windows 7 Ultimate. I would like to run the VM graphicless and access it through ssh from Windows 7. My machine is connected to ...
1
vote
0answers
374 views

Can I access debian server through bluetooth PAN via SSH access [closed]

Hi I have an old pentium machine which I want to turn into a server. I have got a debian 6 squeeze distro with me. My machine doesnot have a LAN port on it. I don't want to give access to my server ...
4
votes
1answer
504 views

Juju SSH setup in orchestra environment

For orchestra, must the public keys be copied to the nodes before 'juju bootstrap' is run for the first time?
2
votes
1answer
1k views

SSH graphical session without graphical environment installed on server

I am quite a noob in network/server stuff and I don't really know where to begin. I am using Ubuntu Lucid 10.04 on my PC, and I have also Debian SSH server on another machine in my LAN. I would like ...
5
votes
2answers
2k views

SSHFS files from one server to another

I am trying to find the most secure way to transfer files from one server to another. I have the following architecture: Currently I am using the main user salamis in order to mount the ...
8
votes
4answers
8k views

Key-based SSH login with Nautilus' “Connect to Server”

I tried loggin into an SSH server via Nautilus' "Connect to Server" feature by just leaving the password blank, but that didn't work. How do I connect to my server using the key I have on my system? ...
3
votes
2answers
313 views

alt-tab completion while using SSH

I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...
4
votes
3answers
789 views

Cannot SSH/SFTP to remote server without using another remote server

I can access a server A with SSH, and from there I can access server B, but I can't access B directly. Is it possible to open a Nautilus folder in server B by clicking in Places → Connect to Server?
1
vote
1answer
2k views

SSH Daemon does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
4
votes
1answer
7k views

How do I connect using ssh over a direct Ethernet connection?

I have a laptop, a desktop, and a spare 5' Ethernet cable that I can use to directly connect one to the other. The desktop freezes every few days or so, seemingly at random, and when it happens I want ...
26
votes
2answers
38k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
3
votes
1answer
3k views

SSH Streaming Audio

So I have been using mplayer to stream my music through SSH from my laptop to my Ubuntu box using: ssh user@ip-address "cat /Some/Random/Directory/*mp3" | mplayer - I was just wondering if there is ...
8
votes
1answer
5k views

Saving SSH shell links in launcher like putty

I mean how can I bookmark a ssh root@ip command in the launcher so when I click on the icon and a shell is prompt to me asking credentials for the connection to the server shell?
0
votes
1answer
3k views

Adding shell access to existing users in zentyal

I user ldap to create my user accounts. for every user created a home directory is created For every user created i have updated my configuration to adding a default shell. but i did this change post ...
1
vote
1answer
2k views

How to use open/openvt with command line arguments?

Question: I can start LumiSoft mailserver in console mode like this: ./lsMailServer.exe -daemon Unfortunately this blocks the terminal that was used. And I am logged in via ssh. I'm just ...
15
votes
1answer
34k views

Modify the SSH welcome message to include system IP address

I have had a couple of occasions where I was unable to remember the IP address for a given system but was, at the time, able to connect using the hostname. As an example, just now I wanted to set up ...
3
votes
1answer
1k views

sshfs 'no such file' error

I'm trying to use sshfs to share a folder between two of my computers. I can ssh from the server, and see the folder I want to share. However, when I run sshfs, I get: david@desktop2:~$sshfs ...
1
vote
2answers
554 views

firefox process dies after ssh log out on remote machine [closed]

i need to run firefox process on a remote host via ssh and also keep process running even after ssh logout. I already have tried these ways nohup firefox & ,screen,disown -h . but it seems these ...
1
vote
1answer
1k views

SSH between 2 PCs

I've successfully managed to setup SSH server individually on 2 PCs(master and slave setup). I can login from the slave to the master but the vice versa isn't happening. From he individual PCs I can ...
3
votes
1answer
6k views

Cant start ssh server

Background kernel: 3.0.0-14-generic OS: Ubuntu 11.10 - desktop Problem: Cant start ssh daemon System Log (Snippet): [ 451.862562] init: ssh main process (3042) terminated with status 255 [ ...
2
votes
1answer
1k views

SSH responding poorly

Why do command line prompts respond poorly I am when SSH'ing into a terminal?
2
votes
1answer
11k views

How to know actives ssh port forwarding

I have configured in ~/.ssh/config many port forwarding for VNC with different port for each servers. Is there a command which can help me to know which port is forwarding to when I open an SSH ...
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 ...
0
votes
1answer
361 views

GPG and SSH encryption of file need help

I don't know how to use Password and Keys in Ubuntu 11.10 , what is the exactly use of this application , and how can we use this for encrypting files? Please also explain about ssh keys and gpg ...
6
votes
2answers
13k 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.
1
vote
1answer
3k views

FTP over ssh hangs on “Connection established: Waiting for Welcome Message”

I have looked far and wide and have not quite found the answer. I am running ubuntu 11.10, openssh, and vsftpd. I am trying to configure my FTP to tunnel over ssh. My ssh connection works just fine ...
0
votes
1answer
673 views

How can I connect to the recovery console of a remote server?

So, my Ubuntu server's hard drive went into emergency read-only mode while I was in an SSH session. Thankfully, I was able to connect with SFTP and grabbed a few critical files, although, stupidly, it ...
9
votes
3answers
19k views

Sharing files in LAN through Samba or SSH

I am able to share files between two Ubuntu machine and Windows machine but I have these problems which I can't solve. When I share files between two Ubuntu machines via LAN Computer1 to Computer2. ...
1
vote
1answer
2k views

hpn-ssh on ubuntu server

What is the current status of hpn-ssh on ubuntu? It is not in the default repositories, as far as I can tell, but does anybody knows if there are any plans to add it (or decisions not to add it)?
1
vote
1answer
1k views

Why ssh-keygen creates empty key files?

I launched ssh-keygen, answered all questions and it reported that keys were successfully generated, but files are empty. Why? ~ > ssh-keygen -C "my key to github" Generating public/private rsa ...
2
votes
1answer
5k views

How do I export both my private and public keys into one file? [duplicate]

I need help on exporting both private keys and public located in ssh into one file. id_rsa and id_rsa.pub
0
votes
1answer
197 views

UbuntuServer, graphics-card died, cant log in to use SSH/VNS

Okay, weird situation. I have a really old desktop and yesterday I decided to setup ubuntu-server as a home server on that thing. It has no onboard graphics. I installed gnome-desktop, so at the start ...
2
votes
2answers
2k views

KDE 4.7.3: how to remember ssh key passphrase in konsole?

I am using latest KDE in Kubuntu 11.10, I have ssh keys added protected by a passphrase which is prompted every time I try to establish ssh connection. In Gnome it would pop up a GUI window where I ...
1
vote
2answers
1k views

Is it possible to ssh my Ubuntu machine from an iPhone? [closed]

I want to control my Ubuntu machine by SSH (or something similar) from my iPhone. Is this possible?
4
votes
3answers
5k views

How do you make Seahorse (Gnome Keyring) store passwords for ssh keys in?

I'm trying to get Seahorse to remember the password for an existing RSA key I've copied across from another computer. When I use the key rather than Gnome Keyring prompting me for the password and ...
2
votes
2answers
361 views

How Can I Edit Songs on a Remote Server?

I have a number of songs I am hosting. I would like to edit their ID3 tags. Downloading and uploading them will take too much time. Is it possible to edit them as they are online? Update Here is ...
4
votes
1answer
473 views

SSH shell launched using “expect” doesn't have full width. How can I make fix it?

I am using expect to auto login on SSH from an Unity launcher, the command looks something like this: gnome-terminal -t SSH1 -e "expect -c 'spawn ssh root@111.222.333.255 ; expect assword ; send ...
1
vote
4answers
6k views

No prompt after successful ssh login

After a successful login to my VPS the command prompt doesn't get displayed. I've ran ssh with -vvv and sshd with debug output, absolutely nothing is amiss. The VPS is Ubuntu 11.04, the client Ubuntu ...
24
votes
4answers
37k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
8
votes
3answers
14k views

How to open the display from ssh login?

Is there any way to open the desktop display from terminal(ssh login)?
2
votes
2answers
5k views

Copy file to same directory with appended filename Via SSH Bash Script

How would I copy a batch of files into the same directory with an appended filename via SSH Bash Script? For example. /path/files/file /path/files/file-20120105 The trick is for it to be a one liner ...