SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

-1
votes
0answers
34 views

How to configure ssh settings? [on hold]

I have an access to an aws server deployed through Rightscale. Rightscale generates a .jnlp file to ssh into the server from local machine which actually runs on java code for doing it. I want to do ...
0
votes
1answer
15 views

X11Fowarding not working on Arch Linux ARM

I am trying to setup X11Forwarding between my Arch Linux ARM server and my OSX computer. I am accessing the server locally (always). /etc/ssh/ssh_config: X11Forwarding yes AddressFamily any ...
0
votes
1answer
34 views

ssh over unix pipe or pty device [on hold]

Ok, I don't even know how to put this into words. I have a /dev/myDevice which automatically connects to some ssh server when opened. How do I connect to it with ssh? Is this even sane? If it's insane ...
2
votes
2answers
50 views

Git config forwarding

I don't know if this even possible or not. I was wondering if there is any way like SSH Agent forwarding by which we can forward our .gitconfig on the remote server, and git automatically picks the ...
2
votes
2answers
34 views

How can I maintain open ssh connection and use it from shell scripts?

Currently i invoke the following: $ ssh me@host.com my_cmd This is slow and not easy to automate safely. I would like to establish ssh connection once and have some script that will forward my ...
0
votes
0answers
15 views

Why won't MOTD display output from a Python script it calls outside of /etc/update-motd.d/ unless it's in this directory?

The Situation We're running a headless Ubuntu 14.10 Server to fulfill various needs and tests. I was experimenting with changing the MOTD for SSH sessions via /etc/update-motd.d/ so as to display ...
2
votes
0answers
12 views

Rlogin prompting for remote password (Kali / Metasploitable)

I am following a tutorial that can be found here. http://www.kalitutorials.net/2014/05/metasploitable-2-vulnerability.html Specifically the "Remote access vulnerability - Rlogin" section. When I ...
2
votes
0answers
20 views

Flash OpenWrt Routers from Telnet

I have two routers. One has Chaos Calmer and the other has Attitude Adjustment. When I turn them on and check arp, nothing comes up. When I check route, the hardware address says (incomplete) but the ...
1
vote
1answer
11 views

Working with screen via another screen session

I connect to Host1 using ssh and start a screen session. From one of those windows I ssh into the Host2, which launches a screen session on login. How can I create new/switch between screen windows ...
0
votes
0answers
34 views

SSH multi hop with certificate

I need make a SSH multi hop connection from A --> B --> C B is a bastion host and C is the target. In my client (A) we are the two SSH certificate, for B and for C, how to make a connection to C ...
0
votes
1answer
49 views

Why the number is rounded over ssh? [duplicate]

localhost:~ $ df -k / | awk '{print $3/1024/1024/1024}' 0 0.00618061 localhost:~ $ ssh localhost "df -k / | awk '{print $3/1024/1024/1024}'" 01 01
2
votes
1answer
23 views

Disabling ssh password authentication does not work on my debian VPS

I have a Debian 7 VPS setup. I just enabled SSH Key authentication and disabled password authentication but the disabling did not work. When I attempt to SSH into my VPS, it prompts me for my SSH Key ...
1
vote
0answers
81 views

Give a user permission to one folder

I have made so my group "sftponly" can access the users home folder. But right now the user in the group don't have permission to other folders, but they have permission to see them. How can I do so ...
0
votes
0answers
12 views

OpenWrt with Nodogsplash

I have a web application in MVC4 for Hot Spot Management system. I using it with OpenWrt and Nodogsplash, Now i need to authenticate the users in to external website. Is there any way to allow to ...
2
votes
2answers
38 views

transfer many similar files over ssh

A service on a linux server is only able to do full backups, where each backup is a .tar archive (no compression). Many contents of the archive do not change from day to day. Each .tar file size is ...
0
votes
0answers
10 views

ssh over https, python server [migrated]

My ssh client connects successfully to sshd on my server at home through https port with the help of sshttpd on someport which multiplexes traffic to either httpd on port 443 or sshd on port 22 ...
0
votes
0answers
23 views

Error installing java on Virtual Machine

I am trying to deploy a server app (BaasBox) to Google app Engine BaasBox requires java 1.6 or higher to execute. when I check for java on the virtual machine using java -version, I get this: ...
2
votes
2answers
38 views

Simple notification on program completion

I'm running something while ssh'ed into a machine (through mosh). I would use sendmail to get a notification on termination of a program, but this machine cannot connect to the network for security ...
1
vote
1answer
16 views

Pinentry fails with gpg-agent and SSH

I'm running Fedora 22. I'm trying to setup GnuPG to have my SSH connections authenticated using my PGP authentication subkey that is located on my Yubikey Neo. I have a systemd unit starting the ...
3
votes
1answer
44 views

Possible to pipe command using su via ssh

I'm trying to write a python script to remotely update the login passwords for a set of account I administer - I can already successfully use python to pipe remote commands via the stdin of an ssh ...
1
vote
1answer
16 views

dropbox process stops when I log out of ssh

I tried every solution from How to run Dropbox daemon in background? and nothing solves my problem: Basically, I already installed dropbox on my Ubuntu 12.04LTS headless server. I got init.d setup ...
0
votes
0answers
28 views

SSH connection breaks after executing commands (broken pipe)

I am connecting to a remote machine on WAN and LAN networks using SSH. After logging in with username & password I type some commands in the shell. After the 2nd or 3rd command PuTTY throws the ...
1
vote
0answers
36 views

How to capture tail -f output from remote host indefinitely

I am trying to monitor a remote, embedded host that is writing output to a file: /var/log/myapp.log This host may lose power for hours. The app may be killed and restarted. On my local machine, I ...
0
votes
0answers
24 views

How to make ssh-agent work properly? [closed]

I've set up ssh-agent, and I see /usr/bin/ssh-agent /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session x-session-manager in the process list, but terminator (my terminal software) ...
0
votes
0answers
46 views

Difference between ssh manually and in a script

I am using AIX. I am trying to open pvcs Serena application which is present in a Linux server. If I manually ssh to Linux server, set DISPLAY variable and invoke pvcs it is working properly. However ...
3
votes
2answers
83 views

SSH Connection Timed Out

Hi I have looked all over the internet but could not find a solution. I am not saying that I didn't find anything, I am saying that I tried so many things and nothing worked. So hopefully someone can ...
0
votes
1answer
78 views

Why can't I use ssh?

The problem seems to occur straight from the time I have installed Ubuntu 14.04 LTS. I first realized this problem when I was trying to connect with my hosting at HostGator. I neglected and thought ...
0
votes
0answers
18 views

Browser is ok but can't direct internet through a shadowsocks server

Ok it seems an easy thing but I just couldn't make it work after lots and lots of searching. I have Ubuntu 14.04. This is config.json file including configurations of my friend's server running ...
0
votes
0answers
28 views

cannot ssh to Fedora 21VM from local-desktop

I verified that ssh is running on VM, however port 22 is not responding. [root@localhost log]# ps ax | grep sshd 5343 pts/0 S+ 0:00 grep --color=auto sshd [root@localhost log]# systemctl ...
3
votes
1answer
59 views

Where are SSH init scripts located?

I'm following the best security practices of SSH, via this link and the link states: We should remove the unused keys and only generate a large RSA key and an Ed25519 key. Your init scripts may ...
4
votes
1answer
55 views

After sending shutdown command, ssh session doesn't terminate

Whenever I send the command to turn off or restart my Debian servers, my shell is left hanging and unresponsive (can't type any commands). Performing the same action in Ubuntu results in the ...
0
votes
1answer
38 views

Cant use scp with wdmycloud

I can successfully log in to mycloud as root or another user I added. I need to use the scp command to send an image to my folder. It keeps asking for the password and saying its wrong when I know ...
-1
votes
0answers
33 views

Can't secure copy to wdmycloud with ssh [duplicate]

I can successfully log in to mycloud as root or another user I added. I need to use the scp command to send an image to my share. It keeps asking for the password and saying its wrong when I know it's ...
4
votes
2answers
76 views

Is it possible to escape quotes within escape quotes within escape quotes within escape quotes?

I'm guessing someone will tell me I'm doing something wrong and dumb and noobish, but I'm trying to script something in the most straightforward method possible and use sudo commands to do something ...
7
votes
1answer
113 views

Blocking SSH Brute Force attacks on IPv6

I recently had to work with some servers that have an IPv6 connection and I was surprised to find out that fail2ban does not have IPv6 support, neither does denyhosts. Searching on google I found that ...
2
votes
1answer
50 views

SSH command not exiting properly [closed]

I wrote a script that SSH to remote servers in loop and run a command, it gets hung after running on last server.Here is my loop script - cat server | while read serName do ...
0
votes
2answers
25 views

“Replace” default shell (bash) with tmux

Background: An co-worker at my company uses tmux all the time, in our spare-time he teached me mastering tmux and vim and I really fall in love with the power of this combination. Currently, I am ...
5
votes
3answers
33 views

How to make SSH's `ControlPath` distinguish between IPv4 and IPv6?

I'm using ControlMaster auto ControlPath ~/.ssh/tmp/%l_%r@%h:%p in my ~/.ssh/config to open multiple sessions using the same connection when accessing a host via SSH. That works fine for ...
0
votes
3answers
63 views

Port is open but I can't ssh to it

My company PC is behind the firewall, I want to connect to my remote server. The port is open however I can not connect to it, does anyone know the root cause? From my company PC connect to my ...
2
votes
1answer
35 views

rsync over SSH sometimes very slow--other times maxes out bandwidth

I have a bash script set up on computer A (Mac OS X) set to run every five minutes via a cronjob. This script checks for new files on remote computer B (Gentoo Linux) then rsyncs any new files to ...
1
vote
0answers
15 views

How do I use the “screen” command if I don't know what the ps or tty the program came from?

I am making a python program that launches on bootup, and I would like it so that I can interact with that program via the "screen" command, so that if I need to talk to the progarm via a different ...
0
votes
1answer
54 views

ssh login with a tunnel through intermediate server in a single command?

Is there a way in a single SSH command to login via SSH to a remote server passing through an intermediate server? In essence, I need to create a tunnel to my "bridge server" and via the tunnel to ...
1
vote
1answer
22 views

Estimating time to send a single file with fixed network throughput?

Let's say I have several files with different sizes (10KB, 100KB, 1MB, 10MB, 100MB). Starting individual transfer of those files over 2MB per second network will return different final throughput ...
2
votes
1answer
57 views

SSH requires password for first login

So I've got a strange issue going on with SSH. I've setup my ssh server to allow passwordless logins via sshkeys. However, when I try to login, the first time I login in a long time (~day), it ...
2
votes
1answer
32 views

How can I remotely access an intranet website from an external network via an SSH tunnel?

I recently setup FreeIPA on an internally accessible system at home. I'd like to manage this web UI from networks that are external to my LAN, but at the same time, I don't want to have to expose this ...
3
votes
1answer
218 views

How to access my local network from anywhere over ssh?

What do I have to do to be able to access my local network over ssh with a dynamic IP address?
-1
votes
1answer
20 views

the sudoer can't restart ssh service on debian8.1

I have installed debina8.1 ,set the sudoers configuration this way. 1.apt-get update 2.apt-get install sudo 3.adduser test 4.usermod -a -G sudo test When i connect vps with test account name, and ...
0
votes
0answers
10 views

SSH - using a command on remote system to execute a local script [duplicate]

On a remote machine, I have a file that I want to open on my local machine. The local program accepts certain SFTP URLs. For example: local_program sftp://remote.host/~/file.txt I want to use an ...
2
votes
0answers
22 views

Data written to /dev/pts/x inside SIGINT (Ctrl+C) handler is randomly discarded [on hold]

Have Archlinux64 on VirtualBox. If I declare a SIGINT trap like this: trap 'echo x' INT inside an ssh session (running bash) and press Ctrl+C multiple times, only a few times does something appear ...
0
votes
1answer
15 views

How to customize port in filezilla to connect my vps?

The port of target vps is 28399 ,not 22 ,i want to connect it with filezilla. I found that the port can only be 22 ,how can i customize the port ,make it to be 28399 or any other number?