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

learn more… | top users | synonyms (1)

1
vote
1answer
59 views

File system went read only after adding ssh key

I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed /etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin ...
2
votes
2answers
46 views

How to grant access to a folder which resides in a folder owned by another group

Situation: Group A requires access to /path/to/dir/foo to upload files through ssh or ftp, but the directory in question: /path/to/dir/foo is owned by group B (if you'd like: /path is recursively ...
0
votes
1answer
58 views

How to run a script on a remote computer from a local computer over ssh and save the ouput on the local computer to analyze further?

Lets say i have a script in my local computer like the below one which will list files of a directory on my remote computer and run a "for" loop to save the files on my local computer. Then a check ...
0
votes
1answer
87 views

ssh connection fails with and without rsa keys

I've got a machine running Ubuntu in the office.I've got a machine running Mint at home. My goal is to be able to work from home connecting to the office with ssh. I swear i tried to look for similar ...
11
votes
3answers
19k views

How do I connect to a server with thunar in Xubuntu?

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to. Example: How can you do ...
0
votes
2answers
68 views

Cannot SSH into Ubuntu14.04 Server Remotely

So I am able to SSH onto the server when connected to the same network, but I need to enable remote connection. When I enter ssh -v user@serverIP, I get the output: OpenSSH_5.6p1, OpenSSL 0.9.8y 5 ...
0
votes
1answer
43 views

Installing ubuntu server using Network Console

I have a bit of a weird situation, I have a laptop (an old Macbook 3,1) with a half broken screen. I want to install Ubuntu server on the computer but it turns out to be quite a difficult endeavour. ...
1
vote
0answers
1k views

Ubuntu 14.10 server startup

I install just the OpenSSH server on hardware that was running 14.04 Server. Besides the pages of checks the startup goes through, I believe it should recognize scroll lock from an usb keyboard, but ...
2
votes
4answers
2k views

Remote X sessions, how to discover GUI applications?

I've started playing around with remote X sessions and really like it so far as it allows me to use GUI tools to configure my server (sometimes, I just don't feel like editing text files). One thing ...
1
vote
1answer
317 views

Imported OpenSSH keys are saved in Gnome2 keyring, not OpenSSH

I have run into a frustrating issue, that I am sure will be a snap to solve. When importing an openssh key via the "Passwords & Keys" (seahorse) program, it simply places it within the "Gnome2 ...
0
votes
1answer
24 views

Connection problem

I have some problems with the Wifi connection in my office with Ubuntu: Can not access facebook. Can't access my server via ssh. Can't access some websites using https protocol. Note: this problem ...
4
votes
3answers
4k 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 ...
0
votes
1answer
21 views

Interact with GRUB over network

I am connecting to my workstation over SSH (via VPN access) and I accidentally rebooted machine. The problem is that I cannot connect to my machine because it boots to grub and it waits for ...
1
vote
1answer
86 views

Trouble Configuring VNC on AWS Ubuntu amd64 (ami-9eaa1cf6) via Win 8 TightVNC

NOTE: At the bottom of this question I've appended some details I've found that I think are clues as to the underlying problem. I started out with a clean instance of Ubuntu 14.04 AMI and took the ...
2
votes
1answer
284 views

No MOTD on Ubuntu 14.04…?

I recently did a fresh install of Ubuntu 14.04. When I SSH, there is no MOTD (and yes, I have the appropriate command set in sshd_config). I read a bunch of tutorials about setting up MOTD, but I ...
115
votes
3answers
33k views

How can I break out of ssh when it locks?

I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no ...
1
vote
1answer
79 views

How do I get eth0 IP address

When I type in this command line I got this.But it did not contain IP address.Actually I want to connect with Raspberry Pi with ssh connection.So do that I want to get IP address of eth0 .If there is ...
0
votes
0answers
94 views

Rsync creates error message unexplained error (code 255) at io.c(837)

When I try to rsync -qaPH source/ 192.168.1.21:/var/backups I get rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(837) [sender=3.1.0] Whats wrong ...
0
votes
0answers
37 views

How to run job with access to ssh passphrase

I have a long-running daemon (unison file monitor) that I want to have running at all times. This daemon connects to a remote server through ssh and maintains a local directory synced with a remote ...
0
votes
1answer
34 views

SSH on but unable to connect (says only sftp)

I have a little problem with SSH on a ubuntu installation. I'm a novice when it comes to Linux. We have a ubuntu server at work which is used by a small part of the organisation and the IT staff that ...
0
votes
1answer
36 views

OpenSSH server requires login on local account prior to allowing remote connections

I have an ssh server installed on an Ubuntu 14.04 Server. I've noticed some strange things happening. If I have not logged in locally on the machine, it will not allow login remotely. If the server ...
41
votes
3answers
50k 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
1answer
581 views

System hang when using SSHFS

This is just a quick note that I want to share with others. It is about the problem that I encountered with my office machine. It was hanging continuously when ssh mount was used. The main problem is, ...
5
votes
2answers
8k 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
0answers
213 views

Problem connecting to database via SSH with MySQL Workbench

I am having trouble connecting to an external database via SSH with Workbench. The error that I get says: Could not acquire management access for administration UnboundLocalError: local variable ...
0
votes
0answers
20 views

sshuttle consumes all resources

I use sshuttle to forward my TCP traffic through a ssh tunnel with the following command sshuttle --no-latency-control -HDr user@server 0/0 -l 0.0.0.0 but after a while sshuttle (python) uses all ...
7
votes
1answer
7k views

Mount remote directory using SSH [duplicate]

How to mount a remote directory using ssh to be available same as if it is a local directory?
1
vote
2answers
2k views

SSH vs SMB vs NFS for GUI file transfer

I am using Ubuntu 12.04 on many computers at my school (I am a teacher and the head tech dude). I use Clonezilla to massively clone desktops and laptops. I want to easily share the disk images ...
0
votes
1answer
79 views

Can't remotely connect to Ubuntu server 14.04

I'm able to connect to my server through my Windows 8.1 using FileZilla and PuTTy perfectly fine also using andFTP while I'm on the local network, how ever that's not the case otherwise. I've tried ...
1
vote
2answers
85 views

Open Java program from SSH into VNC display

If I have an Ubuntu 12.04 system that has LXDE and TightVNCserver installed and run a session on port :1 (not tunneled through SSH) and an active SSH connection, then how can I use SSH to start a ...
2
votes
1answer
274 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
0
votes
0answers
38 views

scp get connection closed to remote server while ssh did fine

when i ran scp on centOS having openssh_4.3p2 it worked fine,but under environment below, when i run scp it fails like 'Connection closed by aaa.bbb.ccc.ddd' host : ubuntu 12.04, openssh_5.9p1 ...
9
votes
4answers
3k views

Is someone trying to hack into my server? What can I do?

A few weeks ago I posted a question here about some ssh issues I was having with an Ubuntu 12.04 box. Fast forward to today and I am trying to allow someone else access to the machine, but they keep ...
0
votes
2answers
7k views

Ping works , but unable to do ssh

I disabled the firewall with sudo ufw disable, I can ping the server, the server can ping me but I can't ssh to it: root@ubuntu:/home/acme# ssh 192.168.1.6 ssh: connect to host 192.168.1.6 port 22: ...
2
votes
1answer
53 views

unix - disable “su” for ssh'ers

I'd like to disable getting root at all for users who ssh in - including "sudo su" cause that's pretty much the same thing... Can this be done? Assume that I'M not ssh'ing in, and have physical access ...
0
votes
0answers
44 views

Login kickout every time in Ubuntu Server 14.04 LTS

We have installed Ubuntu 14.04 LTS in our production servers. Our Dedicated server disk was filled, due to that issue one of the production server stopped. While troubleshooting i found that disk was ...
1
vote
0answers
26 views

What to do with rogue apt-get process

While SSH'd into a server, I was running sudo apt-get upgrade and I accidentally caused the session to quit (Write failed: Broken Pipe) by doing nothing while the installation was waiting on a prompt. ...
1
vote
1answer
69 views

SSH No supported authentication methods available

I have about 10 servers, on 3 of them I cannot use my SSH key, but on the other 7 I am able to use them. I get an error message: Disconnected: No supported authentication methods available (server ...
10
votes
2answers
6k views

How can I reconnect to a ssh session after a broken pipe?

So I was running apt-get upgrade on a server when the router decided it had been too long since it last made me angry: It dropped all connection. Moral of the story is to use screen a lot when you're ...
0
votes
0answers
11 views

Forwarding, redirection, between 3 machines

I have this structure: A: machine not in the domain of our company. B: machine in our company (with an application server) C: my machine So the communication has been enabled to interact only ...
0
votes
0answers
28 views

How to disable X11 forwarding

When I am logged into a mainframe unix machine I see the following error message when I run certain commands: KiTTY X11 proxy: wrong authorisation protocol attempted When I log in using ssh -v ...
4
votes
1answer
201 views

Prevent machine from sleeping when SSH connections are on

I am trying to save power by switching desktops to suspend mode when they are inactive. But many desktops are also accessed via SSH by their owners. There is a wakeonlan solution deployed to enable ...
0
votes
0answers
111 views

Why does this scp command fail? (Host Key Verification failed) [duplicate]

Today I learned that I can execute simple commands without actually ssh'ing into the target host. For example, when I run this commmand ssh target_machine ls /tmp The machine will ask for my password ...
0
votes
1answer
25 views

Running multiple Python programs fills up /dev/mapper/gregorbr--lnx--vg-root 55G 52G 55M 100% /

I have a ubuntu server 12.04.5 LTS that I use to run multiple python programs that uses ssh. I have it set up so it just prints to screen, so it shouldn't take up any space at all. Here is they ...
10
votes
3answers
3k views

ssh never ask for a password

Somehow my SSH never wants to ask me for a password. So I setup a VPS on some random server somewhere in the world and I want to connect to it with ssh. I can setup a key, but when I do this: ssh ...
0
votes
0answers
69 views

ssh-agent doesn't store passphrase between remote logins

I am trying to get my git repositories on my office computer to connect to my Bitbucket account via ssh. I've generated the key and uploaded the public key. I also did the following: eval $(ssh-agent ...
0
votes
2answers
50 views

Terminal Runs SSH Every Time

I have no idea how this happened. I was messing with SSH tunneling into my Raspberry Pi (with no problems) and since then, every time I open terminal on my Ubuntu machine, it tries to ssh into the ...
0
votes
0answers
34 views

SSH PC at office from home

My office has one default gateway and behind that is a local network with locally assigned IP addresses to all computers including mine. I hold admin in my Ubuntu installed office PC and is it ...
0
votes
1answer
28 views

Prevent ssh-keygen from including username and hostname

When I create an ssh key with ssh-keygen, it includes the username and hostname of the machine it was created on. Is there any way to avoid this? I read the manpage and didn't see anything.
0
votes
0answers
19 views

What is wrong with knockd?

I am trying to implement port knocking for ssh service on my personal server. I have two other public services that will always be open. My iptables rules look like this: Chain INPUT (policy DROP 0 ...