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

Chaning the ssh_configure file context

I tried to run my jar file on server with following command java -Jar file.jar I often get write fialed: broken pipe if my client computer go sleep and resume later. I want to solve this ...
2
votes
1answer
21 views

How to transfer Launchpad SSH and OpenPGP keys to another computer?

I maintain some PPAs at launchpad. I created SSH and OpenPGP keys for that. If I need to update a PPA from another computer, I will have to transfer these keys there. I tried to export and import ...
1
vote
0answers
36 views

Why do I have to set usePAM to 'no' to manage a ssh connection?

I have a system user named user1 (the main one). I've tried to set a ssh connection between a user named foreignuser and the main one (user1). For that, I've generated a couple of keys with ...
0
votes
1answer
47 views

How do I copy the contents of user/.ssh/known_hosts to the same file under root?

I am trying to accomplish passwordless ssh-ing from root. To be clear, I want to log in from the local machine at root to a /home/user folder on remote. Have established the connection between ...
1
vote
2answers
32 views

how to drop “ all ” ssh connections in ubuntu?

This is for specified source: iptables -A INPUT -p tcp --dport ssh -s 10.10.10.10 -j DROP how to do this for all incoming ssh requests?
-1
votes
2answers
118 views

How to ssh using perl scipt,run a command, and return the output…?

As clearly explained in the question, kindly give me an option to ssh to a machine using perl script, run a few script lines there, and return the output to the source machine. Found out a few docs ...
2
votes
1answer
40 views

Add SSH key when only public key authentication is available?

This question is more of a general Linux or OpenSSH question than it is specific to Ubuntu but because I'm setting up an Ubuntu server, I'm asking it here. The organization I work for is built on an ...
1
vote
3answers
39 views

How to find another end of ssh connection

I am connecting via SSH from host A to host B. Is there a way to find connection source and re-connect from B to A (for example to make scp from B to A) ?
1
vote
3answers
120 views

How to start X application from SSH [duplicate]

I've tried to search this topic in google, but without any significant results. I need to start some GUI app from terminal, but I don't care what this app is showing me. In addition, I need to start ...
0
votes
1answer
47 views

How can I run multiple ssh commands and not get brute force blocked?

I want to run multiple commands over ssh (some scp's, some rsync's, and then some ssh commands), but the server has brute force blocking and even though my authentication is fine if I run too many ...
1
vote
0answers
29 views

SSH denied after messing with fstab

Goal: repartition one big 5TB /home partion into separate partitions on a remote Ubuntu server. Approach: I took a backup of /home, then erased the partition in gparted and created new partitions, ...
0
votes
1answer
20 views

I moved id_rsa and now no programs can find it

I am planning on doing a clean installation of Ubuntu. I am concerned that, when I do a clean installation, my private keys will be lost and I will be locked out of my servers for which I disabled ...
0
votes
1answer
34 views

Connect to Ubuntu Server over SSH and having root permissions

Is there a way to connect to Ubuntu Server from a desktop Ubuntu using Nautilus, and having root privileges when you connect? I need that, because I have a Wordpress website on the server, and I need ...
0
votes
1answer
33 views

scp to /media directory

I can scp to a directory under /home but not under /media. Why? So for example scp /local/file/path user@192.168.1.xxx /home/more/path works but scp /local/file/path user@192.168.1.xxx ...
-1
votes
2answers
33 views

nginx erreur it didn't open

please nginx in my server did start please follow me root@s45-****:/home/arabico# nmap 45.**** PORT STATE SERVICE 22/tcp open ssh 5/tcp open smtp 80/tcp open http Nmap done: 1 IP address (1 ...
0
votes
1answer
27 views

iptables presale me to ssh access or calling methods remotely

I have a linux openwrt unit at its start I can not make a ssh access if I do iptables -F. If I iptables -L -n -v, I find several rules that are automatically inserted and it prevents me from doing ...
1
vote
2answers
59 views

ssh'ing from one computer to another on the same subnet

I have two computers connected to the same subnet. The first (A) is running 14.04, the second (B) 12.04 I can ssh from the first to the second, but not from the second to the first. Don't really ...
0
votes
1answer
53 views

Starting a program in a Screen session via SSH

Okay, there are a few similar topics to this one, but what I want to do is run a program in a screen session on a remote computer. Taking my lead from this thread In the hope that it is correct, I ...
0
votes
0answers
22 views

Run sequence of commands and ssh password

I want to create a script that allows me to run ssh, input the required password, and then execute another command on the ssh console. Is there a way to do that? For example, this is what I would ...
2
votes
0answers
34 views

I can't create ssh chain tunnel

I have two remote Ubuntu servers - vps1 and vps2. I want to create ssh tunnel for Firefox, that runs on my PC, to connect first to vps1 and then from vps1 to vps2. This doesn't have to be implemented ...
1
vote
1answer
30 views

Netbeans can't access GitHub

Ubuntu 15.04. Netbeans cant access github. I've try terminal. it says that ssh key ip something... I've genarate new ssh-key, added to github, to my ssh. So via terminal it work but, via netbeans ...
0
votes
0answers
27 views

Can SSH, Cannot Use Terminal Locally

I'm sure this is a rookie mistake I've made, I'm in the middle of the learning process with Linux in general. I have an Ubuntu 14.04 server that I have set up for file sharing. As part of the process ...
0
votes
0answers
73 views

ssh error: PTY allocation request failed on channel 0

Suddenly I cannot access my server via ssh using my ssh-key. I can confirm that my ssh key is ok (tested with another server). For some reasons ssh asks user password, and even if I enter my password ...
1
vote
0answers
37 views

What is the best way to secure remote acess a Ubuntu server from Windows? [closed]

I know this a constantly ask question here, but I am looking for more clearer answer. I want to remote access a Ubuntu server securely either using SSH through PUTTY, and if its more popular to use ...
0
votes
1answer
23 views

Limit what ssh-user can port-forward to [duplicate]

I'm using on Windows machine: plink -C -L 3333:<internal-server-ip>:80 -N -i keyfile.ppk <user>@<mydomain> where <mydomain> is an ubuntu 14.04.2 LTS with SSH and keyfile-only ...
0
votes
2answers
71 views

How to resolve “/bin/sh: 1: sshfs: not found” when trying to mount remote drive?

I'm trying to mount a remote drive on a server that I have SSH access to using fuse/sshfs I created a mount point at /mnt/review/server and created the following entry in my fstab, as per ArchWiki: ...
0
votes
0answers
82 views

Connecting to lxc container via SSH using lxc user

I noticed that the username/password I use to connect to a newly created LXC container via lxc-console doesn't work with ssh (with sshd running in the container). When I try, I get Permission denied ...
0
votes
1answer
27 views

x11vnc - How can I allow only certain users to have a VNC session

On my server, all but port 22 (ssh) are closed. VNC is possible, but only with a VNC-over-ssh method. Right now x11vnc is started -forever at boot. With the right ssh tunnel, anybody can initiate a ...
0
votes
0answers
15 views

Remote child process doesn't end

file test.sh contains below lines. !#/bin/bash while [ "1" ] do date done This file resides inside machine 10.1.1.3. I want to execute this script from a remote machine 10.1.1.2. Let say from ...
3
votes
1answer
121 views

lsusb is not working on Ubuntu?

I have an Ubuntu server version (14.04 up to date LTS). I mostly use this machine over SSH. Yesterday I typed in lsusb and the machine gave me the following error: unable to initialize libusb: ...
0
votes
1answer
274 views

Execute command on remote machine using telnet in one line

I need to write a script to monitor wlan0 interface of my remote machine. I can do this by executing iwconfig wlan0 repeatedly on remote machine. But how to login to that machine and execute this ...
0
votes
0answers
25 views

ssh hangs when executed from Code

i am trying to log the RSSI value of wlan0 interface for a remote system. I run the following command to do that. sshpass -p <pwd> ssh <username>@<IP> iwconfig wlan0. I am executing ...
0
votes
1answer
57 views

How to open a picture from Ubuntu server, via [SSH on] my laptop Macbook? [closed]

I am currently using Macbook iterm2 for ssh connection to my ubuntu server. I am image processing via terminal and want to open the result. What whould be easist way of doing this?
0
votes
0answers
72 views

using ddclient with namecheap dns service doesn't update IP

I have just set up my first ever home server. I created root, made the IP static on my local network, installed openssh, and can now ssh into the computer as long as i am connected to my homes router. ...
3
votes
0answers
115 views

SSH with PAM Google

I have a server with Google Authenticator enabled. It worked fine, and one day I tried to login, and suddenly I'm not able to. Fortunately, I do have Ajenti installed with a terminal, so it's not a ...
0
votes
1answer
56 views

running python packages from user local directory

I'm on a Shared hosting, with a limited SSH access. don't have sudo privileges. And there are some limitations on some folders, as the following: This is the output of the termial ls -al : ...
0
votes
1answer
89 views

ssh keeps asking for a password

I am trying to set up an MPI cluster, following Setting Up an MPICH2 Cluster in Ubuntu tutorial. At the end of step 7, it says that I should not receive a password request, which unfortunately is not ...
1
vote
1answer
43 views

cat: id_pub.dsa: No such file or directory

I am trying to set up an MPI cluster, following Setting Up an MPICH2 Cluster in Ubuntu tutorial. However, in step 7, I execute: cat id_pub.dsa >> authorized_keys but I am getting: cat: ...
1
vote
1answer
303 views

Passwordless ssh error

I am trying to enable passwordless ssh for Hadoop 2.6.0. The method I tried is as follows: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys I also ...
2
votes
1answer
108 views

Hadoop in Ubuntu : Unable to create Passwordless SSH

I am learning Hadoop and trying to create the passwordless SSH following the procedure in define in the Book : Hadoop: The Definitive guide Configuring SSH Pseudodistributed mode is just ...
13
votes
2answers
748 views

What is the Ubuntu equivalent of OSX `chmod -h` flag?

In OSX I can set the permissions of the symlink itself (instead of the thing it points to using the -h). From the man page: -h If the file is a symbolic link, change the mode of the link itself ...
0
votes
0answers
69 views

Port 22: connection refused

I am pretty new to Ubuntu so please if you can answer to this question explicitly. I have two laptops one is running on MAC OS X 10.8.5 (OS X Mountain Lion) and the other one running Ubuntu 14.04 LTS. ...
1
vote
0answers
117 views

unlock kwallet at login

before plasma 5 I had my kwallet unlocked at login and it worked well (same password for kwallet as for my session). Now, with plasma 5, it does not work anymore, I think I'm not far from working ...
3
votes
1answer
224 views

Could not load host key: /etc/ssh/ssh_host_ed25519_key in /var/log/auth.log

I have an Ubuntu 14.04 instance running on AWS. I was browsing the auth logs (/var/log/auth.log*), and noticed the following line appearing: Could not load host key: /etc/ssh/ssh_host_ed25519_key ...
0
votes
0answers
70 views

I can't get ssh:// links to open in a simple index.html webpage

I want to have an ssh link open up on click. I am having students VNC to an Ubuntu VM for them to learn Linux on Cumulus Linux switches. I was reading this thread: How to change what xdg-open does ...
1
vote
1answer
61 views

Accidentally run command rm -R in Amazon EC2. Unable to login

I'm using Amazon EC2 for Magento website and WinScp to access SFTP. Sometimes I'm using terminal in WinScp to execute command. Today I need to delete some files so I used rm -R /* and forget to ...
1
vote
1answer
117 views

How to create a SFTP (SSH) User with extremely limited permissions

i run a server on Ubuntu Server 14.04. I want to create a user that is able to connect via sftp, download 1 file and terminate the connection. The user should not be able to do ANYTHING else. Browsing ...
0
votes
1answer
49 views

Apartment Network Issue

Ok so I'm trying to SSH into my home machine from work/school. Problem is, even though I set up my router appropriately, I can only ssh into it when I am in my apartment's network (not my own ...
0
votes
0answers
35 views

Enable Vino Script Help

I have been trying to add and enable Vino to our districts Ubuntu laptops but have come up with some issues that I can seems to find a solution to and i was wondering if you might be able to assist. ...
0
votes
2answers
206 views

rsync over ssh “error in protocol data stream” (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] ...