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

learn more… | top users | synonyms (1)

0
votes
0answers
2k views

SSH : Write failed: Broken pipe error [duplicate]

I connect with my work PC using SSH. It was working fine until recently but now suddenly connection gets lost with error "write failed: Broken pipe " error on terminal. I saw similar question ...
1
vote
1answer
862 views

Running multiple services on one dedicated server with static IP

Since some time I am tinkering with a dedicated server running on ubuntu. The basic setup LAMP, SSH is no problem, works great. But when I install multiple applications as a service I get stuck in ...
2
votes
1answer
3k views

How to use ssh to transfer files from computer a to local computer

I am trying to get some files off of my school linux account using ssh. I have got the connection to work using: scp <school_server>: ~/folder i want ~/where i want to go. But when it goes ...
3
votes
1answer
841 views

Crash - every morning, how to resolve this crash and run it in a stable way?

Every day Ubuntu 12.04 64-bit on my Alienware X51 Dell PC crashes. The kernel I am using is 3.2.0-41-generic. I have a python application running which downloads and uploads in the official hours. ...
1
vote
1answer
4k views

Invalid User vs. User Not Allowed in ssh log

When looking at the auth.log: From a security perspective, what is the difference between "Invalid User" and "User Not allowed because not listed in "AllowUsers." Examples: Nov 6 10:42:37 ...
1
vote
1answer
4k views

Connection mystery with ssh

I've run into a problem with ssh that has me completely stumped (and our department IT guy as well): Up until a few days ago I had no problems accessing my files on our departmental server (university ...
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
2answers
697 views

svn, ssh: Connection refused most of the time; other computers can connect

I am running Ubuntu 12.04.3 and svn as well as ssh (to servers) only works sometimes in a short time window after booting my computer, but most of the time I get "Connection refused". The problem only ...
3
votes
2answers
11k views

Why is my ssh connection dropping immediately after I enter my password?

So I'm trying to get a connection between two Ubuntu computers. This is what happens when I try to connect: jordan@0.0.0.2:~$ ssh david@0.0.0.1 david@0.0.0.1's password: Welcome to Ubuntu 12.04.1 ...
2
votes
2answers
344 views

How do I get names of different outputs available on the system via ssh?

If I run xrandr from a terminal in the X session I can see the names of different outputs available on the system. For example, I get something like this: Screen 0: minimum 320 x 200, current 1440 x ...
13
votes
3answers
57k views

Run a nohup command over SSH, then disconnect

I want to execute a script, start.sh on a remote server which runs this: nohup node server.js & Naively, I call SSH like this: ssh myserver <<EOF ./start.sh & EOF This starts the ...
1
vote
1answer
1k views

Setting up Ubuntu 13.04 home server

I am currently attempting to set up a home server using Ubuntu 13.04. I am following instructions from http://linuxhomeserverguide.com/server-config/Webmin.php accurately as far as I can tell. I've ...
2
votes
1answer
2k views

How to configure apt to access a deb repository over ssh?

I have a deb repository accessible with ssh (following instructions from this site). I use the ssh-public-key-based authentication to access the repository server. How I can configure apt-get on ...
3
votes
1answer
3k views

Keep the running processes alive when disconneting the remote connection

I have a bunch of processes on a server initiated by ssh from my own machine. It is now about three hours that my machine's Ubuntu has got hung and I do not see any other options but restart. Is there ...
1
vote
1answer
341 views

How to have a different ip on same network access a samba server

My network ip is 192.168.20.254 I had to setup another ip range 192.168.1.x as I have a few computers that tunnel through another network. I have a separate samba server 192.168.20.201 The new ip ...
10
votes
5answers
23k views

How can I access my Ubuntu phone over ssh?

Whenever I try to run apt-get install openssh-server I get the following errors: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file /var/lib/...
0
votes
2answers
467 views

Cannot access a website from Ubuntu desktop,while the website is live

I has a website hosted on CentOS VPS. That website has a self signed certificate. Now,I migrated that site to another host. I generated keys for using sftp and ssh in old hosting. The problem is ...
2
votes
1answer
11k views

How can I allow ssh connection from an IP subnet on port 10022 using iptables?

I need to set up a server with public IP for bandwidth testing, and I already have a script to drop all incoming traffic except for the ports I need. I have changed the ssh port from default (22) to ...
5
votes
3answers
13k views

Ubuntu 12.04 and openssh-server

I have a problem installing openssh server and client on Ubuntu 12.04 desktop. I want to make a home server, but I am a Windows user and I need a graphic interface. First of all, I used the command ...
22
votes
4answers
37k 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 ...
1
vote
1answer
57 views

I don't have openssh-server, but I can ssh to localhost

openssh-server is not installed on my computer, but I can ssh to localhost or from another computer I can ssh to my computer. It means there is another ssh-server running on my computer. How can I ...
0
votes
2answers
4k views

Unable to connect to SSH on my laptop

I installed SSH server and client using the commands in Ubuntu 13.10 sudo apt-get install ssh But then I am able to connect using my client to any other ssh server on the network by ssh username@...
9
votes
1answer
18k views

How to retrieve passphrase for private key?

I generated DSA key using ubuntu. Saved the public key on remote server, such that keys are required before connecting ssh. I have forgot the passphrase for that key. How can I retrieve it?
1
vote
2answers
616 views

How to copy PWD onto clipboard?

So I think many people have gone through this issue where you SSH into a machine, cd to whatever path you need to be at, and then realize you actually want to be root and not your own user. However, ...
15
votes
3answers
35k views

SSH new connection begins to hang (not reject or terminate) after a day or so on Ubuntu 13.04 server

Recently we upgraded the server from 12.04 LTS server to 13.04. All was well, including after a reboot. With all packages updated we began to see a strange issue, ssh works for a day or so (unclear ...
1
vote
2answers
60 views

SSH Functionality of Ubuntu

In Ubuntu, when I try to connect to an SSH server from the terminal, a dialog window pops up asking me to enter my SSH password. When I enter it, my password is remembered for the duration of that ...
1
vote
1answer
650 views

SSH connecting issue

So I got a VPS and I am trying to SSH into it but I keep getting this denied error Permission denied (publickey,password). Here is my config file. # Package generated configuration file # See the ...
8
votes
2answers
13k views

How do I prevent git from requiring sudo on every git command

I created a directory /var/www to store my web apps clone in. When I initially cloned the app from github it required me to use sudo and every time I do a git pull it's requiring sudo. I'm running ...
1
vote
1answer
268 views

Is there a tool like XMing to manage X11 forwarded applications?

Sorry the title is not quite clear. With X11 forwarding, I could run application on the remote server but see it on the local client. Normally I do this by: local$ ssh -X remote_server remote$ ...
0
votes
1answer
14k views

No more authentication methods to try. Permission denied (publickey)

I have set up a home network behind a router a while ago and use openssh to access the network consisting of my laptop, wife's netbook and my desktop all running l/x/ubuntu 12.04. This worked ...
1
vote
1answer
417 views

mongodb does not shutdown cleanly on system shutdown

When I shutdown Ubuntu running mongodb (installed via apt), occasionally mongodb doesn't appear to finish shutting down completely - the log file matches a healthy shutdown, closing files, cleaning up ...
1
vote
1answer
378 views

Webmin alternative that installs & runs on the client machine & communicate via SSH

Are there any Webmin alternatives that don't consume server resources but instead install on client machine & communicate via SSH client. So effectively all the actions made on that GUI are ...
2
votes
1answer
210 views

Trying to understand my first server set up

I am trying to set up my first server and stack. I spent a week trying to do it on a virtual machine but could never get the ports to forward correctly so today I just dedicated the full machine. I ...
1
vote
0answers
29 views

Anything that converts GUI actions to commands to be sent to remote ubuntu via SSH? [duplicate]

Is there anything that would allow me to run a GUI on client side of SSH(ie on windows)& that would convert the GUI actions made to corresponding commands to be sent via SSH client(in my case ...
3
votes
1answer
1k views

Unable to connect to remote server with SSH

I used to connect to my server without any problem using ssh on Ubuntu with this command: ssh username@server-ip I can no longer do it now I've changed my location (same PC). whene I run the same ...
0
votes
2answers
1k views

Need help mass renaming files using command line that contain a certain string

I have about 200 files that are named like this: 01_-_Back_Alley_Uproar.avi 01_-_Bad_Luck_Cat.avi 01_-_Beep_Beep.avi 02_-_Broomstick_Bunny.avi 02_-_Bunker_Hill.avi and so on. I would like to ...
0
votes
3answers
4k views

Using PuTTy to control server while port 22 is blocked

I can control my server command line using PuTTy on my home network (port 22). I can also do this remotely (port 22). Now the issue is that while I am at school, port 22 is blocked on the router so ...
0
votes
1answer
288 views

Can the admin of a SSH server monitor internet traffic?

I use SSH Tunnelling + socks4/5 to browse securely, but a certain question came up in my mind, can the administrator of that SSH server monitor my traffic? like see which websites I am visiting, ...
6
votes
2answers
1k views

xubuntu xterm strange lag/echo issue with ssh

I have a xubuntu box and using its terminal everything is fine locally; but when I ssh to any server, the remote echo seems to be holding the last line until a key is pressed or the window is resized. ...
12
votes
1answer
4k views

How can I adjust the default passphrase caching duration for GPG/PGP/SSH keys?

As far as I know, gnome-keyring-daemon caches passphrases for keys by default until I log out. I would like to set the default to something like "cache for 10 minutes". How can I do that in Ubuntu 12....
2
votes
2answers
166 views

root@mickey:/#su goofy && ssh goofy.com — why does this fail?

mickey (who is logged in as root) tries to use goofy's account to ssh into goofy.com. root@mickey:/#su goofy && ssh goofy.com however this fails to login goofy on goofy.com, instead: goofy@...
1
vote
3answers
5k views

How to use rsync via ssh with rsa key passphrases?

How can I use rsync with passphrases? All googled "solutions" i found use passphrase-less keys which seems no real option. i am runnning 2 ubuntu servers 12.04.2 LTS.
1
vote
2answers
925 views

Is it possible to use two laptops as dual display monitors in the same X Session?

Picture this : You have two identicle laptops. Both running Ubuntu with X11. Now rather than having two seperate ubuntu machines is it possible, through XServer, to connect Laptop2 to Laptop1 as a ...
7
votes
2answers
65k 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 ...
0
votes
1answer
5k views

How to open a GUI program using a remote connection (ssh)? [duplicate]

I am using Ubuntu/gnome (10.04) to remotely connect to two (slightly different) embedded systems running Ubuntu (12.04). I use the following command for connection: ssh -X -l username 192.168.1.blah ...
27
votes
5answers
27k views

Really verbose way to test Git connection over SSH?

When using GIT, I have problems with using GIT over SSH, and since it works just fine both from work, and at home with a different modem, it's obviously my home modem that is acting up. I have no ...
2
votes
1answer
106 views

How to add an image to Ubuntu Server 12.04 LTS?

With Ubuntu Server being a completely text only OS, how do you add an image file? I have a webpage set up and would like to add an image or two. Open SSH is running on the server and connected to my ...
2
votes
1answer
699 views

pipe not working for wireshark

Im trying to use wireshark in my test enironment where I have two VM's with ip address 192.168.0.1 and 192.168.0.2 Im trying to monitor the data of the machine 192.168.0.2 from the machine at 192.168....
3
votes
1answer
11k views

What do I have to add to this iptables setup to allow mysql access through ssh?

I just want to be able to access mysql through ssh, but I don't want to accept everything as well. What's the most secure way to do this if any. Here are my rules: *filter :INPUT DROP [14:1434] :...
0
votes
4answers
3k views

Problem with default shell and home directory

I have recently been granted access to a machine at work. However, I have been having trouble setting up my development environment. Relevant information about the machine: $ uname -a Linux ...