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
17 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
29 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 ...
3
votes
1answer
46 views

Remote controlling my PC securely [on hold]

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
25 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
50k 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
507 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 ...
0
votes
0answers
12 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 ...
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
14 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
9 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 ...
100
votes
10answers
180k 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
6 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
16 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
14 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
10 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
222 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
239 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
83 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
485 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
28 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
0answers
30 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
2answers
35 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
19 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
23 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 ...
1
vote
1answer
3k views

Permission denied (publickey,gssapi-with-mic)

I am trying to connect to a VM using this command: sudo ssh -i /home/ritesh/.ssh/id_rsa1 tc@54.80.22.15 -L 5901:localhost:5901 But it's giving me this error: The authenticity of host '54.80.22.15 ...
3
votes
2answers
5k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
0
votes
0answers
24 views

Cannot connect remotely to either MySQL or Postgres

I am trying to connect remotely to the MySQL database on my cloud server which is configured with Ubuntu 14.04.03. However I cannot do so (details below). I can neither connect from a Windows client ...
0
votes
2answers
36 views

GNOME Terminal: Connect via SSH from Ubuntu Desktop 14.04 into Ubuntu Server 14.04 Virtual Box Guest Host

Here are my current conditions: I have UBUNTU DESKTOP on HARD DISK. (I don't use windows) Desktop has ssh installed. Ifnet: 192.168.1.3 Username: kenneth I want Desktop to be the client. VirtualBox ...
0
votes
3answers
47 views

How do I configure ssh to ask me for my password in the terminal instead of in a dialog box?

On Ubuntu Mate, whenever I try to push to github, I get a dialog asking me to "Enter password to unlock the private key", instead of it it prompting me in the terminal. How do I configure ssh to ask ...
0
votes
0answers
37 views

client authentication via sssd/ldap

I'm struggling with an annoying server (14.04.03) setup. We basically want to enable users login via sssd/LDAP, so they can access the machine with ssh. I've followed various tutorials (e.g. ...
-3
votes
2answers
50 views

Putty SSH client question

I'm trying to select the list of commands generated as explained here, but I can't copy all the commands neither by clicking with the mouse's right button nor by hitting Ctrl + C. How can I copy the ...
1
vote
2answers
8k views

How to ssh from windows to my ubuntu machine in the local network

When I'm trying to ssh to my local ubuntu server from the gitbash on my windows machine Im getting this error: $ ssh 192.168.1.11 ssh: connect to host 192.168.1.11 port 22: Bad file number Other ...
3
votes
1answer
34 views

Server, Remote Login, SSH?

Two Things. I'm trying to setup multiple server applications on Ubuntu With Terminal using SSH. I need to be able to use some form of login to the applications VNC, (having trouble with) SSH GREAT, ...
0
votes
2answers
6k views

How to install software raid 0 on ubuntu 12.04 server with mdadm?

I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH). The drive setup is as follows: SDA = OS SSD SDB = HDD for raid 0 SDC = HDD for raid ...