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

learn more… | top users | synonyms (1)

0
votes
1answer
110 views

SSH to Server that is connected to VPN

My server should be connected to a VPN as a client. When I run the OpenVPN script (from HMA), the connection from my local machine to the server over SSH gets lost - connecting is not possible any ...
3
votes
1answer
598 views

“System restart required”…why? How can I get what triggered this notification to also show details?

Every so often, I'll SSH into a box with unattended-upgrades and be greeted with "** System restart required ***" with no additional information. My '/var/run/reboot-required.pkgs' file contains: ...
0
votes
0answers
9 views

Number of ssh connecetions used by sshfs

I've mounted a server using sshfs (used to mount a remote file system to a local folder). Everything works pretty fine at the first glance. I recognized that the connection breaks if multiple ...
0
votes
1answer
25 views

Control a script that runs at start-up through SSH

So I have a server running that runs a few scripts automatically at start-up. They run a few programs that allow you to execute commands from them. This has been going fine but now I am wondering if ...
0
votes
0answers
21 views

ssh local ipaddress

I am trying to setup a multi-node hadoop cluster on my local laptop. I have 2 VMs running ubuntu. I am able to successfully run hadoop on each one of these VMs as single-node. To configure ...
0
votes
1answer
16 views

connect (e.g ssh) with graphical interface to Linux machine

I am trying to connect from my Ubuntu machine at home to my work machine which has Ubuntu too. I know that ssh -X gives the ability to launch graphical interface yet it is not exactly what I want. I ...
0
votes
1answer
7 views

How to use amazon instances' public IPs in hadoop configuration?

I was trying to configure Hadoop by using the public IPs of amazon instances instead of their intra-network IPs as my aim is to create a hybrid cluster i.e. Cloud + Local machine cluster. Although all ...
0
votes
1answer
13 views

Can I use shell_exec or exec as a different user than the apache user?

I have a media server (with only LAN access) that I want to be able to control via some scripts accessed by a web interface. So I want to run the scripts like I would via an SSH terminal. using the ...
1
vote
0answers
11 views

audio through ssh/get raw audio from pulseaudio

How to carry audio over SSH? was closed with a reference to pulsaudio, which is not what i am asking. How do I tunnel sound through ssh? I distinctly want a solution using ssh which would work on a ...
0
votes
0answers
11 views

Ubuntu 15.10 SSH problem under vpn?

After upgrading to 15.10 I am unable to connect to my work computer via ssh using a vpn. It seems that I cannot connect to any server when I am in the vpn, but without the vpn I can connect to other ...
0
votes
1answer
37 views

SSH myself using public IP address does not always work

I am running Lubuntu 14.04 and have set up an SSH server. It has taken me ages to troubleshoot because of a confusing fact. At home I can SSH my laptop from itself using either my local IP address ...
0
votes
1answer
16 views

Locking a folder on a shared linux server

My college has a server set up for students and we all have a folder for our persona stuff on it (access via ssh). So I explored it a bit and found out I can access most of the folders of other ...
1
vote
2answers
31 views

How to detect irregular activity in LAN/PC?

As I've just set up nice SSH server and everything so I was wondering if there are any ways to monitor my computer and my LAN from any suspicious/unusual activity? Additional information: The lower ...
0
votes
3answers
39 views

SSH stopped working on Ubuntu Server 15.04 after restart [on hold]

I just restarted my server after installing UPower and cannot connect to SSH. I've tried "ssh localhost" and I get: ssh: connect to host localhost port 22: Connection refused I've tried changing ...
2
votes
1answer
49 views

Remote controlling my PC securely [closed]

My primary goal is making it possible to remotely connect to my home PC and have remote desktop-like functionality. What software combo would satisfy the five requirements below? I've got five ...
1
vote
1answer
26 views

Can't ssh without password to some machines, on a shared filesystem on a cluster, while it is successful on other machines

I am running on a cluster, where my home directory is shared to all machines. Some of the machines are RHEL and the others are Ubuntu. When I login without password from RHEL->RHEL or UBUNTU->RHEL it ...
5
votes
10answers
51k views

How to use sshpass?

I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
8
votes
2answers
10k 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 ...
9
votes
5answers
509 views

Permanently store addresses when using SSH

I have a few remote servers which I connect to through the terminal. The servers don't have a domain, only an IP address which is hard to remember when I got a few of them. Is there a way to ...
2
votes
1answer
4k views

How do I configure ufw to allow ssh on another port? [closed]

I'm having some difficulties at the moment with my Ubuntu SSH server. The only title I could come up with summarizing my situation was too long so here is my problem: I recently discovered the ...
1
vote
1answer
4k views

SSH: Permission denied, please try again. While tryng to connect to remote 12.04 server

I'm having quite the head ache because of this. The day before yesterday I rented a VPS at atlantic. They provided me with vnc and root's ssh credentials. I could only login through a VNC viewer ...
-1
votes
0answers
15 views

Ssh disable password login

I wanted to ask since recently i have asked if ssh was secure enough to have port 22 open. I am working on getting the key ready but i have one thing. I have set passwordauthentication to no, and i ...
0
votes
0answers
13 views

Recover Server from recovery mode(firewall closes ports)

My server( Ubuntu 14.04 - Plesk - RAID1 ) is now in normal mode. Almost all ports disabled by firewall as plesk port 8443, so plesk login panel is not opening. Also Website is not opening. ...
0
votes
1answer
18 views

Log on with two accounts on SSH with one port?

I'm wondering if logging into SSH on the same VPS using the same port will cause some issues with my server. After attempting to log in with the second user, I now cannot log in with the default ...
101
votes
10answers
181k views

How to prevent “Write Failed: broken pipe” on SSH connection?

What can I do to configure SSH on both client and servers to prevent Write Failed: broken pipe errors? It often occurs if you sleep your client computer and resume later.
0
votes
0answers
9 views

Selenium testing browser against local machine from VM with selenium docker image

I am working on Ubuntu 14.04 notebook. I have a Virtual Machine from Virtual Box. My VM has a docker image of selenium server. I can successfully ssh into the virtual machine and run the docker image. ...
0
votes
0answers
21 views

Login to Ubuntu OS via console (from remote)

I have already asked google for this problem but I could not find a solution yet. Here is my situation: I have a desktop PC in my room which im atm just using to play music. I have no keyboard, ...
0
votes
0answers
15 views

Server gets overloaded with rsync and stops taking connections

I have a backup server in AWS where I rsync data from 20 servers hourly, so it has a hefty task. For the most part it works fine but then every few hours it locks down and stops accepting ...
8
votes
4answers
107k views

SSH Connection Error: No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
0
votes
2answers
6k views

Unable to execute command start-all.sh in Hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0 Actually I'm a total newbie ...
0
votes
0answers
13 views

SSH freezes other processes

I'm running an Ubuntu 14.04 LTS, and somehow SSH seems to freeze some processes sometimes. For example, the file manager will not react anymore or Evolution (Mail program) will stop working - until I ...
0
votes
1answer
4k views

How to audit TTY for a specified user in ssh connection?

I need a method to audit commands that a specified user type in an ssh connection to my server . Any Help ?
1
vote
1answer
223 views

Error “Can't assign requested address” when ssh-ing to remote server

On ubuntu 14.04 I have installed openssh, changed the ssh port. I can login within LAN with no problems, but I cannot access it from outside. I also have: allowed it though firewall and set up port ...
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? ...
8
votes
3answers
26k views

copy with ssh with port other than 22

How do I copy files from my local to some remote server which hosts ssh on port other than default (22). I usually connect to the server using ssh username@remotehost.com -p 2000 Now I need to ...
0
votes
1answer
241 views

Control + D not working in mail

I am trying to test the mail capabilities of my server. I simply do this mail -s "This is a test" myemail@domain.com, then it prompts me for Cc: then the body. After typing into the body I am hitting ...
0
votes
0answers
13 views

Ubuntu Server SVN over SSH not working

I am trying to checkout a repository on my computer using: svn co svn+ssh://name@ipaddress/usr/local/svn/repos/testing And I get an error saying this: Unable to connect to a repository at URL ...
1
vote
1answer
84 views

How can I compress my local file and copy to remote machine and the uncompress?

I can do every single step: 1, compress file using tar 2, copy to remote machine using scp 3, login remote machine using ssh, need password 4, uncompress the file but, I want to write a single script ...
0
votes
1answer
29 views

Ubuntu server 14.04 running on power edge 1950 not connecting to internet

I recently setup a web server to run my owncloud. It was working all fine, until I had a power outage and the server turned off unexpectedly (I don't have a UPS just yet). When I turned it on none of ...
0
votes
0answers
19 views

Setting up Graphic Desktop --> Can't enter password

I am trying to set up a desktop on a vps with Ubuntu and this is as far as I have gotten I am in SSH here I put vncserver :1 and that is the response. Now the problem is that I can't enter anything ...
4
votes
3answers
502 views

Rsync over SSH path with spaces does not work with quotes

I am able to successfully RSYNC over SSH as long as the paths do not have spaces in them. When the path does have spaces, it does not work. I have tried slashes, quotes, and double quotes. When I ...
0
votes
1answer
30 views

How to change the motd date format

Every time I ssh into my server the server prints the last login date and time. But I don't like the format. For ex: Last login: Sun Jan 31 12:12:13 2016 from 127.0.0.1 I want to to disable the ...
0
votes
1answer
25 views

How do I 'scp' between a virtual appliances that are running on different computers?

Both computers are running their copy of the same virtual appliance on Virtual Box which is accessed through putty.exe. I would like to scp a C++ program that I've written on one of the virtual ...
3
votes
2answers
418 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
2answers
24 views

How to save SSH options and connections in Ubuntu?

I have at this time two remote machines to which I am connecting. For one I am using private key with passphrase, and another one I am using root password. Now, when I want to connect to machine ...
0
votes
2answers
20 views

Cannot access the key generated .pub file

generated keygen files vagrant@vagrant-ubuntu-trusty-32:~$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/vagrant/.ssh/id_rsa): ...
0
votes
1answer
5k views

Home directory permissions preventing ssh key authentication on Ubuntu Server 14.10

I have ubuntu server 14.10 with an SSH server on it, and have password authentication working fine from my System76 darter laptop running Debian Sid. I want to switch to rsa-key authentication. On ...
0
votes
2answers
36 views

Ssh safe enough?

This question is about ssh Hi i web server for my site, I use ssh :). I know i can port forward port 22 but is it safe enough? Let's say i use a password that takes a million years to crack or ...
1
vote
1answer
20 views

autossh forwarded ports left open on connection failure

I am trying to establish a reverse SSH tunnel from my home network. I've got it so that autossh connects successfully once (and only once) per reboot. I'm forwarding remote ports to my local machine ...
0
votes
1answer
26 views

Impossible to connect to server through SSH with Filezilla

I have a Debian server which had a HDD failure and was re-installed identically (same hostname, same IP, same distro). I used to be able to connect via SSH using Filezilla from my Ubuntu desktop but ...