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
0answers
17 views

Cannot ssh localhost. ssh_exchange_identification: Connection closed by remote host (MAC OSX yosemite 10.10.4)

➜ ~ ssh -v localhost OpenSSH_6.8p1, OpenSSL 0.9.8zf 19 Mar 2015 debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection ...
0
votes
1answer
24 views

log password for ssh login failures

I'm managing a server and i wonder if it is possible to log the password used for a failed connexion attempt. In the auth.log, there is the user but not the password. it's just for an informative ...
0
votes
1answer
47 views

SSH into remote computer from home (Port foward)

Sometimes the VPN at my friend's place goes down and there ends up being no way to access his computer remotely. I was looking up SSH port forwarding but do not really understand what I'm reading. ...
1
vote
1answer
12 views

View file tree in Sublime when using Cyberduck

I use Cyberduck to open remote files and edit them via Sublime on my local machine. I want to be able to see the file tree of the remote system in the Sublime Text side bar. I've tried a few things ...
0
votes
1answer
28 views

Remote SSH into OS X from Internet

I would like to SSH into my Mac from the internet. Here are some details: Public IP: 64.xx.xx.xx Mac's Internal IP: 10.0.0.10 I have set up port forwarding in my Comcast Arris TG862 gateway as ...
0
votes
0answers
4 views

Getting OS X Port Map to work with SonicWall TZ - 100 (Sonic OS 5.8)

I am trying to get the Port Map application working with an iMac on a SonicWall TZ-100 router. When I run Port Map on this workstation, I get the message 'Router Incompatible'. I have enabled ...
1
vote
3answers
30 views

How to scp-and-ssh with specifying host twice?

I frequently do this kind of thing: scp somefile me@host:/some/path ssh me@host Typing out me@host twice can be irksome. We (or at least bash) can grab that last argument with !:$, but that ...
0
votes
1answer
54 views

What does “key_load_public: no such file or directory” mean?

I've been troubleshooting a PubkeyAuthentication-only issue. When I use verbose mode, I see a lot of "key_load_public: no such file or directory". Obviously, the keys exits on the filesystem, so that ...
0
votes
2answers
51 views

Connecting to remote desktop from windows through ssh

I am sitting on a Windows computer, on a network, that doesn’t allow me to connect to a Windows server outside the network on RDP - however I am able to SSH into a third server outside the network. ...
0
votes
0answers
12 views

Permissions issue with users having same group

USER A need to execute a shell script from a Jenkins job (using SSH plugin), scripts reside in an AIX directory, belonging to USER B. Both the users belong to same group. Script basically deploys ...
0
votes
1answer
196 views

PubkeyAcceptedKeyTypes and ssh-dsa key type

I'm trying to test the order in which keys are tried. One of the system's users is using DSA, so I'm trying to test it as an option. I'm getting a Bad key types. $ ssh -vv -p 1522 ...
3
votes
3answers
275 views

My workplace has two Internet connections. Is there a way I can prevent SSH from disconnecting?

My workplace has a sort of weird Internet connection. We have two connections, a DSL and a cable connection. Our server admin has it set up so that our router dynamically switches from one to another ...
1
vote
1answer
64 views

Concurrent plink (putty) instances / sessions limit?

I'm controlling a lot of devices on which i need to batch run commands, it's working just fine sequentially but if i try to run all of them in parallel i'm getting plink network errors. I'm pretty ...
0
votes
2answers
28 views

Building OpenSSH for OS X?

I have on OS X 10.5 PowerMac (PowerPC) I use for testing. Apple has abandoned support for it. Others want access to the box for testing, so I need to build and install an updated OpenSSH. I visited ...
1
vote
1answer
36 views

Incorrect output of history command of ssh. How to read the timestamp info correctly

I set the HISTTIMEFORMAT variable to store the timestamp info .bash_history file. I am able to display the history properly if I use interactive shell. But, when I run history command to display ...
0
votes
1answer
24 views

Where is the configuration file for OpenSSH server?

I'm trying to disable password authentication at my SSH server. I found the client config file at ssh_config, but I can't find the server's configuration file. man ssh_config(5) does not appear to ...
1
vote
1answer
520 views

SSH server installation on windows

I'm working on a SSH project. For that I setup everything on client side. But I'm facing a problem on my SSH server. I tried some SSH servers like OpenSSH. I installed the OpenSSH server on my ...
1
vote
0answers
20 views

SSH connection closed after SSH2_MSG_SERVICE_REQUEST

My SSH connection is being closed just after this message: debug1: ssh_dss_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: ...
1
vote
1answer
813 views

How can I broadcast to multiple ssh using file descriptor?

I want to be able to broadcast the same commands to multiple servers interactively, meaning I want to send a command, view the result and send another command. The commands are arbitrary and cannot be ...
0
votes
1answer
29 views

“Bad SSH2 cipher spec” with Protocol 2 ciphers and OpenSSH 7.1 Server

I'm trying to determine which cipher(s) an OpenSSH 7.1 server finds offensive. The OpenSSH 7.1 server was built with OpenSSL 1.0.2d. Below, I added the line breaks below for readability, but there ...
2
votes
1answer
32 views

How to ssh in to BSD vm as root

I'm using vmware fusion pro 7 on OS X 10.10. I'm having trouble ssh-ing in to my vm as root. The process is simple ifconfig pull ip. Open terminal window ssh root@ip. However I can't seem to gain root ...
0
votes
1answer
2k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. ...
2
votes
2answers
85 views

Tor with SSH Server on top of it

One of the problems with tor is the exit node - if it's a malicious, it can sniff all the traffic. If I will chain Tor and SSH server (Tor->SSH Server->Internet), the exit node will be able to decrypt ...
1
vote
1answer
15 views

How to instruct `sshd` to use its absolute path when forking?

I have an an older PowerMac G5 with a PowerPC that needs modern SSH access. There is no vendor support. I updated OpenSSL and OpenSSH, and installed them in /usr/local. The updated sshd is located at ...
1
vote
3answers
51 views

Bash: How to copy a file to multiple SSH servers all of which are specified in a list text file?

I have a file (lets say "thisfile.sh" for example) I would like to copy to multiple servers (of which some may require password authentication) at once upon launching my bash file, presumedly with ...
15
votes
2answers
1k views

How to make screen bigger in byobu

My new server install looks odd: is there anyway to resize it to use the whole terminal window?
0
votes
1answer
7 views

sshd and -i option on OS X

According to the man page on sshd(8): -i Specifies that sshd is being run from inetd(8). sshd is normally not run from inetd because it needs to generate the server key ...
1
vote
2answers
3k views

how can I check my rsa passphrase?

I think I've forgotten my RSA passphrase again. Is there a way to have my local command line prompt me for it so I can check if I at least what I remember it as is correct, so I don't needlessly ...
0
votes
0answers
22 views

How do you update a DNS server through an SSH tunnel?

I have a Linux machine which is set up to use dynamic DNS. My organization blocks access to the DNS server, preventing me from updating the IP address. I was wondering if I could make an SSH tunnel to ...
0
votes
1answer
14 views

Only allow whitelisted IP addresses to try to connect in fail2ban

My auth.log is littered with connection attempts from nasty zombies. It is really annoying. And the server doesn't even permit password logins. What I would like to do is set up fail2ban to only ...
0
votes
5answers
3k views

SSH from one Virtual Machine to another in VirtualBox

I am trying to run a server on one VM and a client on another; both VMs have ScientificLinux 6.4 as their OS, running on VirtualBox 4.2.10. The client should be able to communicate with the server ...
0
votes
0answers
19 views

cygwin ssh connection OK via localhost, but not via 127.0.0.1

I've installed Cygwin and OpenSSH server on it. Cygwin version is 2.2.1(0.289/5/3) and OpenSSH version is 7.0p1-1 After some configuration, I can connect on my SSH server with: $ ssh ...
-1
votes
1answer
32 views

Is there a way to ssh in windows 8.1 pro without 3rd party tools?

Well, the title says it all, but I'll give some background: I am trying to configure a NAS to host a GIT repository as described here: ...
-1
votes
0answers
18 views

Filezilla to ec2 windows instance. Error: Connection timed out, Could not connect to server

I'm trying to upload some files to my Windows EC2 instance. These are the steps I followed: Edit (Preferences) > Settings > Connection > SFTP, Click "Add key file” Browse to the location of your ...
0
votes
1answer
102 views

CentOS 7 will not allow SSH local tunneling for port 80

I am trying to tunnel the remote port 80 of my CentOS 7 Server to my local PC through putty. Nevertheless, I seem to be unable due to security restrictions. Is there a way to loosen them and to allow ...
0
votes
0answers
8 views

Need to connect and automatically transfer data from Windows 7 PC to Linux Red Hat using SSH

OpenSSH is not suitable for Win 7 in my system.I would like to automatically bridge from Win 7 pc to Red Hat Enterprise server.
13
votes
3answers
15k views

How do I remove an SSH forwarded port

I used ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it. How do I do this?
1
vote
1answer
18 views

Execute command to remote server via SSH after exporting variable

I have two machines, A and B. I need to execute a script which is located in B by SSHing there from A. In order for the script to run I also need to export a variable. If I just SSH and export the ...
0
votes
1answer
14 views

What key will ssh client use if there is no .ssh/id_rsa* in my home folder?

When connecting to a host that expects key authentication, which key (if any) will be tried if there is no key found under the path ~/.ssh/id_rsa* when using ssh client from commandline in linux?
1
vote
2answers
30 views

Route SSH traffic based on domain with HAProxy

I'm currently building my own little cluster at home and I'm trying to get SSH routing (load balancing) to work with HAProxy. I have figured out how to route HTTP traffic but I'm struggling with SSH. ...
0
votes
0answers
11 views

Would SSH closed terminate the transfering?

I suscribed a dedicated hosting. I use PUTTY software (SSH client) login to the linux server and make a huge folder transfering from folder to folder. If I close my PUTTY (SSH client). Will the ...
0
votes
1answer
28 views

Detach Disk from GCE VM to mount and edit SSH

i am trying to detach disk on temp instance so i can mount and edit ssh_config but when i am using gcloud compute instances detach-disk INSTANCE --disk mydisk it shows ERROR: ...
0
votes
1answer
33 views

SSH Multiple lines for the same public key in known_hosts?

Recently, after some time, I have tried to login to my ssh server on the LAN, and I got this warning: $ ssh user@local.server.hostname Warning: Permanently added the RSA host key for IP address ...
0
votes
1answer
19 views

how to make alias ssh-add /bin/bash in bashrc?

how does not this work? alias push-bb="ssh-agent /bin/bash && ssh-add ~/.ssh/bitbucker_rsa && git push" I assume it cancels at /bin/bash part?
0
votes
1answer
27 views

SSH asking for passphrase when none used

I am trying to ssh into a server from cygwin on Windows 7. I created public/private keys using ssh-keygen, and didn't add a passphrase. I then added them to the authorized_keys on the server. When I ...
0
votes
0answers
14 views

Terminal closing unexpectedly after VM clone

I use a RedHat linux distribution on a VirtualBox. We have a ClearCase version control system with dynamic views (our home dirs are based on a shared server, using ClearCase users). This project has ...
0
votes
3answers
2k views

Linux: ssh command works outside bash script, but not within script?

I am having problem with the following command: echo "Pass for router:" read -s pass /usr/bin/expect - << EXPCT spawn ssh 192.168.10.1 -l root 'opkg list-installed' > list-installed.txt ...
19
votes
3answers
38k views

How to get file/folder size with SSH on linux?

I am using SSH to connect to a CentOS server and I want to get the file in mb of some files and folders, how can I do it?
1
vote
2answers
24 views

What to enable on router to allow ssh on local network?

I can't ssh into my linux pc (192.168.1.101) from windows (192.168.1.110) after flashing DD-WRT on my router. When I try to ping linux IP, I get "Reply from 192.168.1.110: Destination host ...
1
vote
1answer
19 views

How can I add an IPv6 address with a scope ID to the ssh config file?

On Linux, an IPv6 address can have a scope ID at the end with a percent sign before it. For example: fe80::1%usb0. See Why is there a percent sign '%' in the IPv6 address? I want to add such an entry ...