Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Unanswered Questions

2,648 questions with no upvoted or accepted answers
11
votes
2answers
13k views

scp exec request failed on channel 0

I am trying to SCP files from one computer to another however I get exec request failed on channel 0". When I use SSH however, I can get to the machine with no problems. I am using the SCP ...
9
votes
1answer
744 views

SSHFS graceful degradation instead of freeze when connection is lost. Is it possible?

A third-party program will write files to a SSHFS mounted dir. If the internet connection is lost, the third-party program will likely crash (badly), because all programs trying to access such an ...
8
votes
1answer
495 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 re-...
7
votes
2answers
14k views

How to reload the ssh config file in Mac OS X via terminal

When I update my ssh config file so I can switch my current github account, the changes wont work properly unless I restart iTerm. I'm working on a script to automate the github account switch and I'd ...
7
votes
1answer
3k views

VPS compromised? Configured wrong?

I've been renting a VPS for half a year now (educational purposes) and I've been trying to learn as much as possible about keeping it secure. Recently, it was compromised and I suspect that it has ...
7
votes
1answer
9k views

FreeSSHd + WinSCP: “Server refused public-key signature despite accepting key!”

I'm trying to gain access to my Windows 2008 R2 server via SSH. I have a Remote Desktop connection, but I need to upload my files to the server. For SSH servers on the Windows server, I've tried ...
5
votes
1answer
148 views

Ssh X11 forwarding messes up with default shell

I have a bash specific code in my bash profile: $ cat ~/.bash_profile #!/usr/bin/env bash echo "SHELL: $SHELL" function printfiles() { while IFS='' read -r _file || [[ -n "$_file" ]]; do echo ...
5
votes
1answer
421 views

SSH Like Port Forward But with authentication?

ssh user@server -R server:port1:localhost:port2 This way ssh will forward requests to server:port1 to localhost:port2, but anyone can connect to server:port1. So I'm wondering of there's ...
5
votes
1answer
322 views

SSH can't read a key from custom authorized_keys file because of a comma

I inherited some code; among other things, there is a custom authorized_keys file with X.509 keys in a format like this one: x509v3-sign-rsa subject:O=GrandsChocolatiers Ltd.,OU=Management,OU=Top ...
5
votes
0answers
592 views

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
5
votes
0answers
1k views

GPG Agent under Windows as SSH Agent for git bash

I'm trying to set up gpg-agent as the common authentication agent under Windows. It works fine for both Putty and regular gpg use, but now I'd like to use it as ssh-agent in git bash as well. From ...
5
votes
2answers
2k views

SSH on a local machine is slow with Mac os X server

I have a local machine and a mac osx server (mavericks). I can open a ssh session on the server from the local machine: user> ssh serveruser@myserver.local serveruser@myserver> However, the ...
5
votes
0answers
1k views

git clone extremely slow using ssh

Originally I could do git clone using ssh at an acceptable speed. However my ubuntu crashed, so I reinstalled using the newest version 13.04. After I re-installed all I try to do git clone using ssh ...
5
votes
1answer
767 views

Does a Windows 7 system volume encryption tool exist that allows remote unlocking via ssh during boot phase?

Does a tool/method exist which allows encrypting a Windows 7 system volume while providing the possibility to remotely unlock it via ssh during the boot phase? Is it even possible with Windows 7 (I ...
5
votes
1answer
2k views

ProxyCommand with sudo

I'm trying to set up SSH so that I can easily log into an server that is accessible only via a sudo to an intermediate server. From the command line, logging into it is of the form: sudo -u admin ...

15 30 50 per page