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
52 views

mpiexec won't run mpi4py script when two hosts are utilized

So I have this other desktop PC, that serves as my server, primesystem and a laptop as my client, zerosystem that is connected to it. They both serve as my ssh-server and ssh-client respectively, and ...
0
votes
0answers
13 views

Multiple scp commands in bash script, but entering password only once [duplicate]

I currently use a bash script in the following format to update local data with remote one: usr=$1 scp -P 4444 -r $usr@some.other.machine.at:/some/folder/*Tools /home/localUser/someFolder/ scp -P ...
0
votes
1answer
402 views

ssh-agent – What does this process do?

I've found something odd in my system monitor. In my process list was 'ssh-agent', now I'm not too familiar with SSH but I know that it can't be normal for an SSH service to be running on a VANILLA ...
0
votes
1answer
58 views

How to disable root privilege for SSH'ed users?

I want to setup a VPS that is is open to a few people for them to execute a program. They will connect via SSH. Is there a way for me to keep them from running root commands (sudo, su)? I tried ...
0
votes
0answers
28 views

Using 2 NIC Cards and Remote access

Network Configuration See Network Config Above (Sorry for the link but I can't insert an image yet) I have an Ubuntu Server setup with 2 NIC cards: eth0: 192.168.2.3 connects to DDWRT router that ...
0
votes
1answer
56 views

how do i copy my ssh public key to a new user ubuntu 14.04

Sorry if this question has been asked before, but i cannot find it anywhere here or on google. I set up public/private keys, imbedded into my VPS server successfully, it fully works using putty and ...
1
vote
1answer
31 views

How to manage a lot of SSH connection information of EC2 instances from ubuntu using different .pem files

I have to access a lot of AWS EC2 instances from my local machine regularly. Their IP addresses are not mapped to any domain to I need to login to them using command like : ssh -i keyfile.pem ...
0
votes
1answer
42 views

Protect SSH server - 3 attempts at one day

3 day of action Ubuntu Server 14:) grep sshd.*Did /var/log/auth.log | tail -50 Feb 14 09:41:35 mantykora sshd[3797]: Did not receive identification string from 88.249.106.23 Feb 14 10:17:18 ...
0
votes
0answers
22 views

How to change user without starting a new session?

I am connecting to a server with ssh. I use to change user with su username, but as far as I can tell it always starts a new session. So at the end I have to type 1000 exits and I can't remove users ...
0
votes
0answers
105 views

How to automatically and remotely backup machine with windows 10 to ubuntu 14.04 server

I've tried looking into rsync but haven't found anything detailed enough on how to go from windows to ubuntu. What do I need to install on client and server sides? Thanks.
1
vote
0answers
29 views

Remote Desktop over WAN

I've got a Ubuntu server and an Ubuntu desktop, with about 4-40ms of latency (they are in 2 different buildings, connected via a fiber ring) between them. Both are running 14.04.3, of the respective ...
0
votes
1answer
32 views

How do you create new users with passwords and set their permissions in SSH?

Want to create users and set least privilege needed for all users. How can I set permissions and make sure users can only access their own files and also create an admin that can access all? Is admin ...
0
votes
2answers
33 views

Does a public key need to be saved on every client that wants access?

If I create an SSH key pair, will I only be able to login through a client machine that has the public key? For example, if I wanted to use a computer at the library or a friend's machine would I be ...
1
vote
1answer
159 views

Execute commands on a remote servers by 2 scripts

Currently I am using SSHPass in a script to connect to a remote server: sshpass -p PASSWORD ssh -o StrictHostKeyChecking=no USERNAME@1.1.1.1 and to execute any command remotely, I use: sshpass -p ...
0
votes
2answers
47 views

Run a bash script over network

I have a LAN which contains more than 50 ubuntu machines. I want to change entire LAN authorization with a centralized ldap server. I have a working LAN server, and i wrote a script to do all the ...
1
vote
0answers
30 views

Seek and destroy a hanging ssh/sftp session

I am using thunar to access files on a remote PC. However, sometimes the ssh session hangs, and I have to terminate thunar. Then when I try to log back in, thunar just hangs. The only solution I've ...
0
votes
2answers
33 views

hadoop namenode –format not working

I am trying to setup hadoop-1.2.1 on ubuntu 15.4 version. I have done all the required setup but when running the command: hadoop namenode –format I am getting following message: Warning: ...
1
vote
1answer
47 views

Issue with SSH after migration from Amazon Linux to Ubuntu (EC2)

I have a script that starts and stops tinyproxy on my EC2 instance. The core of the script (in addition to some networking on my side) are 2 commands: ssh -t $PROXY_HOST sudo '/etc/init.d/tinyproxy ...
0
votes
0answers
59 views

Very slow DNS resolution only on SSH

The question seems trivial, but I've already unsuccessfully tried some common solutions. I'm experiencing a very slow SSH connection to any server using a domain name, while it's always very fast ...
0
votes
1answer
19 views

what should I do about a ssh login that I didnt do even though i have public/private keys set up?

Well, as the title says my ubuntu server was logged into:"Wed Dec 23 20:33:58 2015 from 159.155.112.87.dyn.plus.net" even though I had a public/private key system then which only I have access to?! ...
0
votes
0answers
38 views

Bash - for loop help needed please

So I have the below script and it works as expected (it SSH's to 40 hosts, goes to a specific file looks for a specific word with a date of yesterday, puts a . at the end of the line and then mails ...
2
votes
1answer
107 views

How can I queue failing or missed backup jobs, even if the computer is asleep or off?

I'm thinking about using rsync to backup my laptop to my home server via ssh. I want to do it daily so I plan to use crontab. My question is: if a job is missed (say the backup is scheduled for a time ...
2
votes
0answers
164 views

gpg-agent and SSH: No keys

I'm trying to enable SSH authentication through my GPG subkey, using this tutorial. However, I borrowed and used the .init script from this blog (in lieu of editing my Xprofile). However, I'm getting ...
0
votes
0answers
172 views

command-line: line 0: Bad configuration option: PermitLocalCommand

I am getting error in Ubuntu command-line: line 0: Bad configuration option: PermitLocalCommand while try to copy file from one system to other. I am Using command : scp testfile.txt ...
0
votes
0answers
94 views

Failed to load NVIDIA drivers

I have an NVIDIA NVS 5200, and my machine is running Ubuntu 15.10. I am trying to access a software that is currently installed on a server. In order to get the window of the software, I am using the ...
0
votes
1answer
69 views

sftp bookmarks - programs to open remote sftp files

I'm using Ubuntu 15.10 64 bit. In Nautilus there are some sftp bookmarks to connecting to a remote server. My editor installed are Gedit, Leafpad and LibreOffice. The problem is that to open a simple ...
0
votes
0answers
30 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
0answers
60 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
70 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
112 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
59 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
53 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
19 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
2answers
51 views

How to detect irregular activity in LAN/PC? [closed]

I want to be notified via email if any of these events below happen: New device came online on my LAN (basically accessed my WiFi) Failed authentication attempts on my PC Someone or something ...
0
votes
1answer
30 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 ...
0
votes
0answers
58 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. ...
1
vote
1answer
54 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 ...
0
votes
0answers
24 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
27 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
42 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 ...
0
votes
0answers
105 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 ...
0
votes
1answer
48 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
40 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
24 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 ...
0
votes
2answers
32 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 ...
1
vote
1answer
120 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
2answers
38 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
27 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 ...
0
votes
1answer
66 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
46 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 ...