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

learn more… | top users | synonyms (1)

3
votes
0answers
488 views

What do these lines in the UFW logfile mean?

These lines are repeated several times, first one at the time when remote ssh connection with the machine is lost (mac address is the address of eth used for Internet connection) Mar 24 21:20:32 ...
1
vote
1answer
525 views

Strange behavior with ssh on Ubuntu 12.04 server

Recently I installed Ubuntu server 12.04 on my computer at home with ssh support. I'm using WiFi instead of cable connection for this server. Everything works fine except the fact that for some ...
2
votes
1answer
1k views

ubuntu 11.10 /var/log/auth.log

I use Ubuntu 11.10. And I want it to write logging messages about failed ssh log in attempts to /var/log/auth.log. In my understanding /var/log/auth.log is supposed to hold all failed ssh connection ...
2
votes
1answer
3k views

trying to use sshfs on ubuntu

i'm trying to use sshfs on ubuntu. i have root access on the server i'm trying to connect to. but everytime i try to connect using my ubuntu laptop, the message i get is the following: ...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
2
votes
2answers
293 views

how to use expect with bash

I Have created a shell script as given below.This script will login to a remote server as a normal user then switch to root user for creating a directory.The script is as given below. ssh -t ...
16
votes
1answer
13k views

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. ...
2
votes
0answers
378 views

Problem with applying socks proxy systemwide

i trying tunnel my traffic through SSH server. when i use Firefox network setting, it work well but when i try apply the socks proxy system wide from ubuntu setting and tunnel google-chrome traffic, ...
5
votes
1answer
21k views

ssh refusing connection with message “no hostkey alg”

My SSH connections worked well, but from last week SSH from my laptop to my board refusing connection. I can make a SSH connection from the board to laptop, but not vice-versa. I tried that with my ...
1
vote
1answer
547 views

How to keep X-Server running via 'ssh -Y' after closing shell?

my name is Chris and i have trouble to run a Python-Script on a Server. I try to run a Python Script, that makes use of the Python module wx, on a Server. Therefor i open a shell connect to the ...
6
votes
3answers
5k 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 ...
2
votes
1answer
149 views

How to check if a file is already opened over ssh?

I have a PC with Ubuntu server and I use it with friends to program on a project over SSH. The problem is that sometimes we have the same file opened and if somebody changes something and saves the ...
2
votes
2answers
6k views

Using authorized_keys with git

I have transfered my ssh key from my root to my user account by ssh-copy-id command so now I have these files in my .ssh folder user@user-php:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub ...
2
votes
1answer
4k views

Starting remote script/terminal based programs through ssh gives error (Error opening terminal: unknown.)

I directly start a remote script/command on an Ubuntu server with the following command: ssh me@server 'nano my_file.txt' However, this throws an error: Error opening terminal: unknown. Another ...
0
votes
1answer
1k views

connect to windows share automatically and rsync

I have a Western Digital connected to my router at 192.168.1.65 statically. How can I automatically connect at login and rsync? At the moment I am using this command that doesn't work. rsync -Paz ...
-1
votes
2answers
1k views

exporting X11 over ssh

I have a server sitting in a remote lab where I have installed openstack.I want to be able to access the xwindows on that machine so as to be able to use the http interface. I am running Ubuntu 11.04 ...
0
votes
1answer
6k views

ssh add bad passphrase

i have add public form another computer. on my computer i see the files in the ssh folder user@user-170:~/.ssh$ ls authorized_keys config id_rsa id_rsa.pub known_hosts known_hosts.old now i ...
2
votes
1answer
234 views

byobu, ssh and an accidently closed fluxbox

So i was using fluxbox and had a terminal using ssh to connect to a server. This server automatically starts byobu for everyone who's connecting to him. At least until i accidently closed my fluxbox ...
14
votes
2answers
25k views

Unable to start sshd

I'm new to Ubuntu and trying to start sshd but having a lot of problems. I've tried uninstalling and reinstalling ssh by running sudo apt-get remove openssh-client openssh-server and sudo apt-get ...
1
vote
2answers
925 views

X11 forwarding issue Ubuntu 12.10 from AIX

Using ubuntu 12.10 and have putty installed, I am using ssh /putty to connect an AIX system once I do that I export the display and run something simple like 'xclock' or 'xterm' Problem is its not ...
7
votes
3answers
26k views

How to SSH on a port other than 22

I have two computers behind the same router. Let's call them A and B. A can SSH to B in the following manner: ssh usr@<internal ip of computer> B can SSH to A by doing the same, but the ...
2
votes
1answer
1k views

Unable to connect to my remote Ubuntu system using SSH

I want to connect to my remote PC running on Ubuntu 12.10 using SSH. But when I try ssh my_username@my_current_ip, I get this error: ssh: connect to host 117...** port 22: Connection timed out I ...
1
vote
0answers
190 views

How to run openmpi on virtualbox with 3 PCs through SSH?

I have 3 PCs with Vista, running Ubuntu through Virtualbox on them. I have installed openmpi and ssh on them, they are connected via ethernet. The IP addresses are all 10.0.2.15. And I can ping with ...
0
votes
1answer
619 views

Ubuntu Desktop with GUI and SSH access

I used to have Ubuntu Server 12.10, and I used to connect to it with my Windows PC using SSH. All I had to do was turn my server computer on and next thing I could do was run my PuTTY and connect to ...
4
votes
1answer
14k views

Restrict SSH Access to Specific IP for User

My /etc/ssh/sshd_config file has a line like: AllowUsers jim@11.22.33.456 If I want to allow jim to use another IP addresses, how do I specify it? Does it take the form of a comma separated list? ...
0
votes
2answers
1k views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
7
votes
1answer
6k views

Can I SSH into a specific directory?

I SSH into a multitude of different servers every day and some of them have different filesystem structures for their websites. Each time I change server, I have to work out where I'm going to get to ...
3
votes
1answer
279 views

Accessing Ubuntu Server from a Windows Machine?

I just bought a PowerEdge 1850, it's great and doing exactly what I need it to do but it's loud so I've placed it into my attic. The only trouble is every time I need to make a change or install new ...
1
vote
2answers
8k views

Trying to install java

I'm extremely new to linux and wanted to run a server but the program want to run requires linux. Im trying to run this command via ssh to my server but receive this every time. sudo apt-get install ...
4
votes
0answers
1k views

Boot from USB, setup through ssh [duplicate]

I've got a new home server with no keyboard, monitor, etc., but with the ability to boot from USB. I want to install Ubuntu Server on it, but can't work out how. If possible, I want a disk image that ...
33
votes
4answers
25k views

Should I always restart the system when I see “System restart required”?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I ...
23
votes
2answers
17k views

Host alias for ssh

There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them. I'd like to be able to use... ssh -p ...
4
votes
1answer
2k views

juju bootstrap: “ERROR SSH authorized/public key not found”

I installed Ubuntu Server 12.10 in a VM and tried to setup Juju following these guides: https://juju.ubuntu.com/get-started/ ...
2
votes
2answers
168 views

Why does it take so long for ssh to decide there was an error?

I use ssh to log onto my server. Sometimes, I leave it connected and go away from the computer, in which time the computer goes to power saving mode (or whatever it's called - the screen just goes ...
2
votes
1answer
3k views

Ubuntu server ssh after reboot: Permission denied (publickey)

I have a server setup where I can ssh to from my mac. The setup is made with a trusted key and it works perfect. But whenever I reboot the server and I that try to login using ssh my_user@ip then it ...
0
votes
0answers
44 views

Can I store a password in a bash script? [duplicate]

Is there some way to store (for example hashed etc.) secured password in a script that will be used during connection to server? Storing password and username as clear text in code for me is quite ...
5
votes
4answers
47k views

ssh: connect to host 192.168.1.7 port 22: Connection refused

I get this error when ever I try to connect my desktop with another desktop using SSH, but I'm able to ping the other desktop successfully. ssh: connect to host 192.168.1.7 port 22: Connection ...
0
votes
1answer
98 views

Can you sign in (Desktop 12.10) user via SSH?

I am away from my Ubuntu machine and was working on it via VNC. I had to sign out of a user account and I lost my Ubuntu VNC connection. I am assuming the VNC server is not running since Ubuntu is ...
1
vote
1answer
649 views

“Permission denied (publickey).” error when trying to ssh into server

I am trying to connect to a server via SSH. I am getting the following log from using the command: ssh -vvvT ubuntu@ec2-176-34-121-133.eu-west-1.compute.amazonaws.com. Please could someone help me ...
6
votes
1answer
1k views

How can I get gnome-keyring-daemon to prompt for ssh-key password in the terminal instead of the GUI

When accessing an ssh-key with a password for the first time in a gnome session, it's so much clearer for the password prompt to appear in the terminal I'm running the ssh command in. Instead, though, ...
0
votes
1answer
2k views

Problem Setting Up Local SSH Server

I am trying to setup one of my linux computers as an ssh server but I can't connect to it. I have openssh-server and openssh-client installed already on both computers (client and server). If I run ...
0
votes
1answer
200 views

Used SSH to establish internal connection to another virtual machine; now I can't change it back

I logged onto my server from a remote computer via SSH using its hostname server.domain.com. The Samba server's IP is 192.168.5.33. I then used the ssh command to connect with the local FTP server ...
3
votes
3answers
10k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
1
vote
3answers
2k views

Cannot Ping from server when logged in from another machine

So I found out my problem when I would use the curl method on my linux Ubunutu 12.10 Server at home while logged in from my laptop (Mac OSX Lion). Nothing was happening when I would use the curl ...
2
votes
1answer
16k views

Shutdown over SSH [duplicate]

I just installed a fresh ubuntu server 12.04. I log in over SSH and use sudo -s to get root access. Then I use shutdown now and the server closes the connection. I cannot access the server over SSH, ...
13
votes
3answers
18k views

How can I install Ubuntu on a device without a screen nor a keyboard?

This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it. I expect this may be similar to ...
0
votes
1answer
738 views

How do I get sound back after connecting with x2go without rebooting?

When I connect remotely over NX using x2go, for some reason, I get a pop-up on the server asking if I want to permanently forget the sound devices that have just been removed: The devices are not ...
1
vote
2answers
1k views

How to get my ssh passphrase remembered during a Ubuntu session?

If I open a gnome terminal and connect to a server through SSH, I am asked for my passphrase by a text prompt in my terminal instead of a GUI, and, worse, this passphrase is not stored in memory for ...
2
votes
1answer
2k views

Unable to ssh with error Connection Refused

I seem to be running into a problem when attempting to ssh. Here is my scenario; Host A - 192.168.1.6 Host B - 192.168.5.10 From Host B, I am unable to ssh to Host A, as I get the error "ssh: ...
39
votes
7answers
64k views

Why does ssh's “password” prompt take so long to appear?

When I try to ssh, the password prompt takes too long (almost two minutes) to appear. Why does this happen?