Tagged Questions

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
2answers
22 views

How can I scp a file across two servers in one line?

I'm using Mac 10.9.5 and bash shell. In our environment, we have to go through a proxy (a CentOS machine) to SSH properly into a destination machine (another CentOS machine). What I would like to do ...
0
votes
0answers
10 views

an ssh subsystem that does ls

Normally you create a subsystem by doing Subsystem vim /usr/bin/vim or something like that. So how would I do a subsystem that did ls -la? ie. you call the ls subsystem, it gives you an ls and then ...
1
vote
2answers
11 views

Error writing to USB mounted on Raspberry Pi

I have a Raspberry Pi which I recently bought, and am planning to use it as a torrent box. While setting it up (over SSH) I tried to mount a 8GB SanDisk USB Drive I had connected to it earlier. ...
0
votes
0answers
5 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
4 views

How to make an exception in a pam module?

I have 2 servers: A and B. I want A to connect to B via ssh (as a non-root user) to run a sudo command. But sudo on B requires a yubikey input to allow the command: auth required pam_yubico.so ...
-1
votes
0answers
11 views

SSH using libssh2 library not working with ipv6 iOs

In my iOS application I am using libssh2 library. I am trying to ssh with ipv6 address, But socket is not creating and getting nil socket. It's working fine with ipv4 address. I have search for this ...
2
votes
2answers
35 views

Directly connect MacBook to Linux desktop via ethernet for fast SSH?

I am looking at building a Linux desktop—desktop only; no monitor support—and getting a MacBook Pro as my main computer for mobility. I would like—while I am at the office—to basically use my MacBook ...
0
votes
1answer
19 views

can't connect to local web server

when i try to connect to a web server installed on a pc in lan i can't get the index page, the computer is well configured because i can ping and ssh it: ping $ ping 172.16.69.196 PING 172.16.69.196 ...
0
votes
0answers
6 views

Resume SCP download when using .pem file with rsync

I have a large file to down form a ssh server, however the connection keeps cutting out. I know that rsync can be used to resume the download however I can not find how to do this when I am using a ...
-1
votes
1answer
21 views

SSH using IPV6 getting error “No Route to Host” in Mac OS X 10.10.1

I am trying to SSH with IPv6 in Mac OS X 10.10.1 (Yosemite) but I am getting error No Route to Host"** I can do it successfully with IPv4. Can anyone guide me please if it require any network ...
0
votes
0answers
5 views

tmux key-binding doesn't work over ssh

I am using iterm2 on a Mac, the tmux key binding works well if I start tmux locally. In particular, the Alt + arrow to switch panes. bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind ...
0
votes
0answers
23 views

Is password-less access to SSH using chroot setup possible?

I was able to log in into a ssh server using public and private keys without using a password. I was able to also setup chroot and jail a new user and avoid that the user could connect via ssh but ...
0
votes
0answers
12 views

SSH status reporting wrong time

Trying to setup SSH on Linux Debian, I get following SSH status after reboot: Active: active (exited) since Tue, 18 Nov 2014 19:32:53 +0200 Here is the status seconds after sudo service ssh ...
0
votes
0answers
13 views

Google Compute Engine - SSH or RSYNC without a Password

I have several Google Compute Engine (GCE) instances up and running. I have a few scripts that pull information (log files, etc) from these instances, and a few others that push up files. I would like ...
0
votes
1answer
14 views

how do I set an ssh password

I see the following line in my /etc/ssh/sshd_config file: #PasswordAuthentication yes I assume if I remove the hash and make the line read PasswordAuthentication yes that I will be able to ssh ...
0
votes
0answers
8 views

ssh-agent forgets ssh keys

I try to use ssh-agent for passwordless authentication. However after adding my keys with ssh-add the passwords are only remembered for the session. The ssh-agent is started by gdm along with ...
0
votes
1answer
14 views

Is is possible to use ssh-copy-id without server password logging enabled

I wish to add a new public key to my servers authorized_keys file. Is it possible to add a new public key without enabling password authentication for ssh-copy-id?
0
votes
0answers
13 views

Alternative ways of passing PS1 env variable into Ubuntu for SSH session

I know that there are twenty thousand answers, none of them worked as expected, I'm more surprised than you are, so please consider reading the story first. I'm trying to achieve what appears to be a ...
0
votes
2answers
19 views

I have a windows ssh host (freeSSHd). How do i get 256 colorschemes to work in vim when connecting through putty?

What I'm trying to accomplish is to putty onto my windows host, and then use vim with full color functionality. How is that possible? I'm currently using freeSSHd but I'm willing to change to whatever ...
0
votes
0answers
10 views

Amazon EC2 server cannot connect and access via putty out of sudden [migrated]

I have a ubuntu server setup in amazon ec2 for few months. Today, out of sudden, the server status is not reacheable and putty is not accessible too. I've also rebooted the system, it seems to be ...
0
votes
1answer
10 views

Interactive program ignores keystrokes on a CygWin OpenSSH Server

I am running Windows 7 SP1. I have installed CygWin with OpenSSH, so now I have a running SSH Daemon that seems to be working OK, except for a problem with an interactive command-line program that ...
0
votes
2answers
16 views

Automated file transfer using challenge-response authentication method

Doing SCP to a remote server to put the files. While we do that, we need to authenticate to the remote server using the challenge-response authentication method where we have a separate authentication ...
0
votes
0answers
9 views

proxychains - same host, different ports

I got proxychains installed and working good. I added these two proxies to my file socks5 127.0.0.1 9050 socks5 127.0.0.1 5555 The first one is Tor, the second one is my remote server that I ...
0
votes
2answers
27 views

ssh, how to enable remote proxy?

I use this ssh -D 9999 root@my.server.ip Then I use firefox and put in the proxy settings as socks 5 , localhost, port 9999 This works fine, but what If I want several other people to use my server ...
1
vote
1answer
24 views

iterm2 ssh is using escape chars instead of “esc”, “left”, “right” buttons

Silly question, but when I am ssh'ed inside iterm2, the arrow keys and esc become escape chars, e.g. right becomes "^[[C". In the faq it states: For the normal mode, iTerm2 generates ESC [ ...
0
votes
1answer
27 views

I can SSH into server but no HTTP, FTP or Mail

I'm stumped I've been spending the last two days on this and am no closer to a solution. I've just purchased a virtual linux server and can't get it to work I can connect to the server over SSH from ...
1
vote
1answer
17 views

ping timing out from remote server to home box

I'm trying to connect from a remote ec2 instance to my home box over ssh and it's hanging (no error, just hanging), and I'm not sure why. I am successfully connecting over ssh from my home box to the ...
-1
votes
0answers
8 views

Low-level hardware for SSH-tunneling [on hold]

I want to login to my home network in order to access my files via my local WebDAV-server in order to avoid dropbox etc. My configuration is a Netgear GBit router (have to do a nat between the WAN ...
1
vote
1answer
20 views

Issues using scp to copy a file in Unix

I have a script where i need to get the cksum of the files in a directory from another host. I was able to do ssh to another host and create the file.txt. what i need to do now is to scp the file ...
1
vote
1answer
17 views

Why isn't openssl s_client passing my private key to proxytunnel?

I currently have HAProxy set up on my home PC and I am attempting to access it through a HTTP proxy. Currently I am accessing the SSH logon prompt like so: openssl ...
0
votes
2answers
41 views

Clone Entire OS over SSH

I have a CENTOS server that was recently compromised. However, I used to be friendly with a professor who taught computer security, and I would like to give this person a chance to go over the old ...
1
vote
1answer
13 views

MobaXterm deleting characters when I hold the left arrow on the command line

Many times I am entering long commands in my bash command line and I need to change a few characters near the middle of the command. When I use putty, I can hold the left arrow and wait for the ...
0
votes
0answers
12 views

Can I use ProxyCommand to run arbitrary commands on a target server via a jumpbox/middle server?

At work, we have a number of servers that we can only SSH into from our jumpbox server. Every now and then I need to execute a command on these servers. For example, if I want to execute df -H on ...
0
votes
1answer
28 views

Piping output from ffmpeg/avconv over ssh to a file

I like to pipe the output from ffmpeg/avconv over ssh to a file. I would like to do something like this. ssh USER_NAME@SERVER_IP "avconv -i ...
-1
votes
1answer
24 views

How to solve python bug without root permission

Python has a bug that can be fixed by modifying a file in /usr/lib/. But I don't have permission to edit that file, is there any way to solve this problem? Is it possible to overwrite that solution in ...
0
votes
1answer
15 views

How to receive files on Windows SFTPd by a Unix machine

I have a Unix tool that generates files. The same tool can run SFTP commands and push out files to other machines. I have a Windows box that needs to accept files pushed out by the Unix machine. What ...
-2
votes
2answers
31 views

What is usable latency for ssh and RDP?

What is usable latency for ssh and Windows Remote Desktop Connection (RDP)? By usable, I mean for things like editing text through a text editor over ssh or RDP so that the latency wouldn't drive the ...
0
votes
0answers
27 views

Cannot SSH on machine behind NAT. DD-WRT router

I'm trying to remote access my home Debian from my other office. The home Debian is behind a DD-WRT router, connected from a ADSL modem (Yeh, it's dynamic IP but I have someone to tell me the WAN ...
0
votes
0answers
8 views

Authenticating svn+ssh commits from Windows 7 with kerberos token

I am developing on a Windows 7 machine and need to commit my visual studio 2010 projects into the primary repository here at work. I installed AnkhSVN, set it up as my plugin choice for VS, and ...
0
votes
2answers
26 views

Bash - Fixing messy output

I'm not sure how/why this is happening. Basically I have a command that is supposed to find and clean out all files in the desktop that contain a certain pattern. I am doing the first part using: ...
0
votes
0answers
20 views

scp whole folder recursivly while using sshpass

I am aware of this answer How to scp a folder from remote to local? But when I try to join it with sshpass the results is that inside /Users/andi/media it will start creating also recursive copy of ...
0
votes
1answer
21 views

ssh from chromebook to ubuntu pc on local network using host names

I have a chromebook and two PCs running ubuntu. I can SSH between the ubuntus using their host names without any problems. But when I try to ssh using the secure shell extension on the chromebook, ...
1
vote
1answer
24 views

SSH connection for different user names in Amazon EC2

I am trying to connect two EC2 instances using SSH. SSH connection for the same user name on the two instances gets connected without any issue. While trying to connect with differentuser name I get ...
1
vote
1answer
24 views

SSH config host match port

I have a server that has multiple "SSH daemons" running (actually Stash and OpenSSH), with different SSH keys needed for each. These daemons are listening on 2 different ports. In the SSH config on ...
0
votes
0answers
24 views

Skype thru SSH tunnel not working

At school, many ports but 21, 25, 80 and the ones for IMAP and POP3 are closed by a firewall, preventing students to go into "malicious" places. Obviously, this has turned into an issue. As it ...
0
votes
0answers
7 views

Is it possible to set specific useraccess to an ftp on debian7?

Heyy guys, I want to set specific useraccess for my ftp running on an Debian 7. At first, let me explain everything: For a higher security I want to disable any logins (in the console and ftp) for ...
1
vote
0answers
18 views

Not able to SSH into Raspberry Pi when PPTP is active

I have a Raspberry Pi set up as a seedbox, and I'm trying to make it connect to my VPN. I'm using PPTP to connect, and I can make the connection work just fine, and my IP address as shown to the ...
1
vote
2answers
41 views

SSH Multiple Session -> “stdin: is not a tty”

I have a Linux-VPS, using it as GIT- and HTTP-Server. HTTP: Apache Git-server: git-http-backend via vhost When i log me in via SSH, everything is fine. But if i open a second SSH-Connection , i get ...
0
votes
1answer
24 views

Log file for ssh attempts?

I have an old Macbook running Yosemite which I've connected to the internet via my college network. I foolishly enabled ssh access while my computer had a weak password, and now I want to check my ...
0
votes
0answers
15 views

Vagrant NAT on Windows 7

I have followed the basic steps to get up and running with Vagrant. When I SSH into the box of Ubuntu or Debian. I cannot seem to connect to anything when trying to install packages. I can't ping or ...