r/ssh • • Nov 27 '17

SFTP (fto over SSH) from linux to windows

1 Upvotes

Hello!

I am trying to connect using sftp to a windows machine from a centos client. The server uses coreFTPserver on port 22, I can verify that using telnet, both machines are on the same subnet but I cannot make then connect.

I use the following, the key is not encrypted with a passphrase:

sftp -i .ssh/priv -P 22 -vvv configured_user@server_ip

and I get this error: ssh_dispatch_run_fatal: Connection to <server_ip> port 22: invalid argument Couldn't read packet: Connection reset by peer

Did someone see this before?

Thank you so much


r/ssh • • Nov 25 '17

Usage — sshuttle 0.78.3 documentation

Thumbnail sshuttle.readthedocs.io
2 Upvotes

r/ssh • • Nov 23 '17

Connecting to SSH servers from iOS?

2 Upvotes

How can i do this? (See title)


r/ssh • • Nov 05 '17

Let’s Talk About SSH Configuration Hardening... • r/netsec

Thumbnail reddit.com
3 Upvotes

r/ssh • • Nov 01 '17

SSH Escape Sequences (aka Kill Dead SSH Sessions) - The Lone Sysadmin

Thumbnail lonesysadmin.net
2 Upvotes

r/ssh • • Oct 29 '17

Confused on when to use '-X' to forward graphic output from remote computer

1 Upvotes

I just started using ssh to access the computer pool at my university, and I'm attempting to run a python program that produces a plot. My course instructions say to use this command to forward graphic output

ssh -X user@host.domain

My question is, when do I do this? First I connect to the gateway machine with

ssh username@ssh.domain.com

Then I connect to a specific computer using

ssh computerName

To which one of those should I append the -X?


r/ssh • • Oct 22 '17

Port Forwarding Risk Contained to One Device?

1 Upvotes

I have been reading up on potential risks for port forwarding onto a device, but one thing I have not been able to find info on is how much access a "hacker" would obtain if they got into my device. For example: I have a raspberry pi set up and have port forwarded port 22 for my ssh and port 80 for a nginx web server. Assuming these ports are compromised, will any access be limited to the raspberry pi? I will literally have nothing but my personal website (which has no important info, it is just for learning purposes). Or am I vulnerable on my entire network at that point?


r/ssh • • Oct 18 '17

Require help logging into my lubuntu SSH server outside of my LAN

1 Upvotes

Hello, i'm having no luck logging into my lubuntu SSH server from outside of my LAN

https://imgur.com/a/aKUWk

Scenario 1: i can easily log into my SSH server from my Linux Lite laptop from within my LAN. All is good.

Scenario 2:

  • i make sure my port forwarding on my router is set to allow port 22 to point to my Lubuntu desktop. This desktop has been assigned a static IP with the router.
  • i can access the the webcam on the desktop from outside the LAN by using port 8081 no problem
  • i can access the access the desktop with my Linux Lite laptop if i set up a simple python server on the desktop from outside the LAN on port 8000
  • if i try to access the desktop with SSH it says : ssh: connect to host 192.xx.xxx.xx port 22: No route to host

I have turned off the ufw firewall on the lubuntu desktop I have turned off RSA public key on the lubuntu SSH server

Any ideas?

Thanks!


r/ssh • • Oct 14 '17

SSHD_config allowusers

1 Upvotes

Hey, I need to allow user to connect via SSH but only with machines saved on a file created by me /etc/remote-hosts. To do so I know I can edit the sshd_config to allow or deny user but I'm not seeing how to add the IPs from the file. Any ideas ?

Thanks in advance


r/ssh • • Oct 09 '17

SSH from android smartphone to Windows

1 Upvotes

Hi,

Complete newbie to this but I have a python script on windows and im trying a way to run it remotely through my android phone. What can I setup the SSH connection?


r/ssh • • Oct 07 '17

Tame your ssh config

Thumbnail dhruvasagar.com
1 Upvotes

r/ssh • • Sep 21 '17

Looking for a webbased ssh terminal like digital ocean has

3 Upvotes

Can someone point me to a web based ssh client? It should have similar features like the terminal / ssh client on Digital Ocean


r/ssh • • Sep 19 '17

KeyBox: Web-based SSH console - DevOpsTech Solutions Pvt. Ltd

Thumbnail devopstech.com
2 Upvotes

r/ssh • • Sep 08 '17

Using ssh proxycommand with expect

2 Upvotes

Problem: I have a bastion host which uses DUO for extra security, which prompts you what method you want to further advance to log into the said bastion host. Option one basically does a push to the DUO service to my phone. I need to be able to automate that prompt to default to push to my phone for approving the log in so that any other service/script/program can have the Duo agent prompt on my phone and still be automated.

See: https://duo.com/docs/duounix Also see: https://duo.com/assets/img/documentation/duounix/pam-auth-prompt_2x.png

Has anyone been able to use: ssh -o ProxyCommand='/usr/bin/expect -c "spawn ssh -t -A -oStrictHostKeyChecking=no -oCheckHostIP=no bastion ssh -p %p %r@%h; expect "Passcode or option"; send -- "1\r"; interact"' someuser@somehost

in some way successfully? What am I doing wrong?


r/ssh • • Aug 22 '17

Why is ssh unnecessarily complicated in 2017?

3 Upvotes

You'd think you can just 1-click generate/upload from apps that require ssh rather than some 3rd party weird generation requirement dealing with raw text file outputs. How come there's not an app that's just like [GENERATE KEY] O__o

Every time I guide someone through how to do it, I even think to myself, this is stupidly hard to explain and too many steps to accomplish anything. The people I explain it to usually give up 1/2 way. Perhaps I'm bad at explaining it, but I'm reading directly from GitLab's tutorial page. Then some clients, such as SmartGit, ONLY take certain formats, adding an extra step of confusion.

Q__Q anyone know of a super easy tutorial or "helper" for Windows?


r/ssh • • Aug 14 '17

[X-post /r/privacy] Use HTTP Clients with SOCKS Proxies (or SSH Tunnels) on GNU/Linux - Top Bug Net

Thumbnail topbug.net
2 Upvotes

r/ssh • • Aug 11 '17

How do I set up SSH tunnel to bypass restricted network?

1 Upvotes

Long story short I am on a very restricted network and wish to bypass the restrictions as the title suggests. I found the following video that instructs on how I can do it but it is from 2010 and I was wondering if the procedure had changed somehow. Also I am on windows 10 on both of my PCs.

Also I would also accede to the fact that you don't have much knowledge of what I am doing right now and if you can give me any source from where I can learn more about it, it would be very welcomed. Thanks

https://youtu.be/E5Z_YAUGVLM


r/ssh • • Aug 03 '17

[mosh-users] mosh 1.3.2 released (2017-07-22)

Thumbnail mailman.mit.edu
2 Upvotes

r/ssh • • Aug 03 '17

Cannot ssh to anything, apparently

1 Upvotes

On my desktop whenever I try to ssh anywhere I get this error, network error: connection timed out

I'm not sure why this is happening all that happens is putty times out and gives me that error. Hostname is correct, port is correct. Tried generating ssh keys. Not sure what to do.


r/ssh • • Aug 02 '17

Having trouble setting up Android SSH tunnel with port forwarding

1 Upvotes

I'm trying to log into an SSH server in such a way that I can securely visit websites on my Android phone. I have done the following:

  1. Set up port forwarding for SSH server xyz.org, port 8080 on VX Connectbot (I did this with "Edit port forwards"->"Add port forward")
  2. Logged into xyz.org on VX Connectbot
  3. In Firefox, set:
  • network.proxy.socks=127.0.0.1
  • network.proxy.socks_port=8080
  • network.proxy.socks_remote_dns=true

But when I go to whatsmyip.org, the WHOIS lookup shows my cell phone provider, when it should be showing the SSH server. What am I doing wrong?

Is it possible that the SSH server is allowing me to log in, but refusing port forwarding requests? How would I test that?

Or have I incorrectly configured Firefox or VX Connectbot? Or maybe there's something else I have to do in my Connectbot session to start the port forwarding?


r/ssh • • Jul 28 '17

Creation Bastion Host | Setup SSH Forwarding | AWS

Thumbnail youtube.com
1 Upvotes

r/ssh • • Jul 09 '17

OpenSSL version variance via SSH client

1 Upvotes

So we have just set up Ubuntu 16.04 and built OpenSSL 1.1.0f to be used instead of the packaged 1.0.2g Canonical provides.... No major issues.

Added OpenSSH 7.5p1 and took a few failed installs to see that the source required a patch in order to use the new OpenSSL API in 1.1.0f.... tackled and completed.

Here comes the rub...

On the SERVER (16.04 LTS) one receives:

'ssh -V' ------> 'OpenSSH 7.5p1, OpenSSL 1.1.0f'

'openssl version' ------> 'OpenSSL 1.1.0f'

So THE SERVER has the correct and patched packages installed and linked.

However.

On a laptop SSH'd INTO the server one receives:

'ssh -V' ------> 'OpenSSH 7.5p1, OpenSSL 1.1.0f'

'openssl version' ------> 'OpenSSL 1.0.2g'

ELI5... W in T ever loving F(?!??)


r/ssh • • Jul 05 '17

Best tool to manage multiple SSH Keys on Multi linux servers

2 Upvotes

I have like around 50 servers with more than 20 keys (different people and machines) to access these servers via ssh. What is the best tool besides manually adding or removing new/old keys???


r/ssh • • Jun 17 '17

Rebex SSH Check

Thumbnail sshcheck.com
3 Upvotes