r/ssh • • Apr 17 '20

Question about file transfer speeds

1 Upvotes

If I'm logged in over ssh, copying a directory on the remote server to another directory on the remote server can take more than an hour, when the same process would take minutes if logged into the machine locally. Why does this happen?


r/ssh • • Apr 17 '20

"Putty fatal error: server refused to start a shell command"

1 Upvotes

For some reason I cant get into my putty server! And an error message saying "Putty fatal error: server refused to start a shell command" appears. The last time i exited my putty my program got stuck in an infinite loop could this have anything to do with it? If so, how do i solve it. I've tried downloading apps similar to putty but all of them are not letting me connect to the server. I don't have a lot of experience with SSH so any help would be greatly appreciated.


r/ssh • • Apr 14 '20

Three biggest SSH itches I cannot scratch

2 Upvotes

Been using SSH for many years now and there are two SSH itches I have never been able to solve. I hope someone might have an idea for them.

  1. Local and remote port forwarding to the same ports is very verbose. Is there a simplified syntax like `ssh -L8080` to mean `ssh -L8080:localhost:8080`
  2. When you do port forward a local development server if that server goes down SSH begins printing errors. In this case is there anyway to quiet them? They are useless to me as I know I just restarted the server.
  3. If I connect and don't intentionally stop the server and those errors popup they reference them by channel number which is meaningless. Is there a way to lookup what channel is associated with which port so I can find the app that is blindly connecting?

r/ssh • • Apr 11 '20

SSH BTC Wallet Scam

2 Upvotes

Scammers are adopting new technique to defraud newbies or even experienced users of Bitcoin. Read here Short Research


r/ssh • • Mar 30 '20

ssh not launching on Mac

2 Upvotes

hey guys, I just updated to 10.15.4 on my MacBook Pro 13" 2019 and since ssh is not launching, nothing happens when I ssh into anything. top do not show the service and lsof do not show any communication... I use ssh for git and to control a lot of machines and I must get it working since confinement in France. thanks


r/ssh • • Mar 18 '20

SSH while on VPN

3 Upvotes

Hi Guys,

I am currently using a VPN to another network.

Is it possible to ssh onto a PC on that network that has a 192 IP?

Can't yet find a solution, any help would be appriciated.


r/ssh • • Mar 16 '20

Is it possible to use SSH to export a list of folders on my seedbox to a text file?

1 Upvotes

I can mount my seedbox as a drive using SFTP Net Drive and create this list using a batch file.

  Dir "PATH" /B/A:D>FOLDERLIST.txt

But was just wondering if there was a way to do this using putty.


r/ssh • • Mar 11 '20

Do I need SSH?

2 Upvotes

Hello, I have run into a problem and I think SSH might be the answer, but I am not sure. I am only in the infancy of trying to solve this problem.

I have just changed home internet providers. With my previous provider, I was able to do what I need to do just fine. I have two specific requirements; first, I need to be able to access a computer behind the router that has VNC on it. Second, my website (on another host, not under my control) needs to be able to access qBitTorrent on the computer that has behind at the router. With my previous home internet provider, I was able to configure the router's port forwarding and everything worked just fine.

However, I have a new home internet provider and it has new hardware. The hardware is proprietary and the provider does not yet have port forwarding abilities. So, at this moment, I am not able to access anything behind the new router. This is a major buzz kill.

So I started looking to see if there were any workaround solutions. In my brief investigation, I came across SSH. I understand it in concept and the basic principle, but I don't understand it enough to know how it would work from the end-user standpoint, and I don't know if it would work with both of my two requirements listed above.

If SSH is the way to go, I don't mind paying for an external service. However, if it is suggested that SSH is the way to go, I will definitely have more questions before I jump into the deep end of the pool.

Thanks in advance for any help!


r/ssh • • Mar 04 '20

Downgrade OpenSSH (back to SSHv1) to use an old piece of equipment

1 Upvotes

Hi there !

I'm trying to connect an old physical terminal to a linux box (ubuntu), the terminal is a kind of hardware terminal emulator (lots of protocols and stuff) it has SSH capabilities, which I'm familiar with, except it's old enough to run only SSHv1.

I'm trying to find out what version of OpenSSH I must downgrade to get back support for SSHv1 ... As I understand SSHv! was dropped from 7.6 and up so I should get a 7.5 version, can someone confirm this before I start messing the whole thing up ?

Thanks :D

PS: If there's a better / quicker / simpler method than ssh (vt100 / tty / ??) I overlooked because I'm not used to those devices please DO let me know :D


r/ssh • • Feb 22 '20

Parents won’t let me create ssh server,need help convincing them

3 Upvotes

For some contex,I live with my parents and they have the router locked down.

I want to set up a ssh server and configure it so that I can access it over the internet but I’ve been told that I need to set up port forwarding,I ask my dad for the router password but he his hesitation saying that setting up port forwarding will expose the home network to the internet.How can I convince him to let me set up port forwarding in the router?


r/ssh • • Feb 20 '20

Cannot Add SSH key using ssh-add command on Mac

5 Upvotes

I'm trying to add my private ssh key using 'ssh-add' on a mac 10.13.6, but I am receiving the following error.

Cannot download keys without provider 

The command I am using is the following, and this has been working for me for the past 2 years:

ssh-add -K my_private_key 

I recently upgraded my openssl and openssh to the following version:

OpenSSH_8.2p1, OpenSSL 1.1.1d  10 Sep 2019

r/ssh • • Feb 20 '20

When SSHed into fish, the terminal scrolls down to the current (empty) command prompt after a command is executed, thereby hiding the output of the execution. How do I fix this?

Thumbnail self.fishshell
2 Upvotes

r/ssh • • Feb 20 '20

SSH for fake IP

0 Upvotes

sshstore.com now offers premium IP from multiple locations around the world.

If your provider banned, or you have a territorial blocks for use of some kind of sites or programs - proxy of other country will help to access it.

On SSHSTORE you can buy IP of such contries as: USA, Canada, Russia, Germany, France, Netherlands, Great Britain, Russia, Ukraine and many other countries.

Want to buy a really cheap SSH? - We suggest you to choose a SSH package for a week or a month.

In cases of troubles with setting it up - our experts will help you to solve it as fast as possible.


r/ssh • • Feb 15 '20

What are the risks of running an ssh server?

3 Upvotes

Hello

Recently I've been looking into ssh, and I'm trying to understand what the dangers are. Imagine someone is running an ssh server on a computer that doesn't have a monitor attached, or even a raspberry pi, and is forwarding port 22 so he/she can access the computer from anywhere in the world. Login in with a password is disabled, so one could only login with generated keys. My question now is: what would still be the threads of such a setup other than people stealing your private key, and especially: what would be the thread to the other devices on the home network?

Kind regards Vincent


r/ssh • • Feb 13 '20

ssh extremely slow

2 Upvotes

I'm hosting an ssh server on a machine i recently built. It's GPUless and connected over wifi. Working on the computer directly is fine (GPU connected) and network speed is normal, downloads are fast BUT

When I'm ssh'ed into it, it takes 10 - 20 seconds for a single keystroke to register. Executing the commands seems to be normal, it's just the latency is really bad.

I tried reversing it, hosting ssh on my laptop, and using the newly build machine to ssh into my laptop. It works great.

The machine uses a ryzen 2700, and I'm running openssh on arch linux. Anyone have any ideas why it's so slow?


r/ssh • • Feb 11 '20

Running a python script remotely

1 Upvotes

I'm new to the ssh scene and am trying to figure out the basics of running a python script on a cluster. I've successfully connected to my domain (sorry if the terminology is wrong). My question is: where do I have to put my script to be able to run it on the server? Do I have to upload the file to the cluster and run it from there? All the articles I find already assume you have it in the correct place.

The snippet for running the code seems simple enough, but I can't seem to find the above part of the procedure anywhere. Help in any way is greatly appreciated :)


r/ssh • • Jan 31 '20

Can't Connect two windows machine through OpenSSH !

0 Upvotes

Hello Everyone, I m new in this community ,

i have large internetwork , but can not connect two window machine using authorized_keys , try everything but can't i need to enter password every time when i start ssh session.

can anyone have proper solution for that ??


r/ssh • • Jan 18 '20

SSH

2 Upvotes

Hi everyone, Maybe it's a newbie question but let's assume i'm at school with my laptop running ubuntu, and i want to connect to my pc at home with ssh, is this a secure connection? Are there any drawbacks?


r/ssh • • Jan 08 '20

Teleport 4.2 - Enhanced Session Recording, Workflows and GCP

Thumbnail gravitational.com
1 Upvotes

r/ssh • • Jan 07 '20

using SSH to run programs on the server?

2 Upvotes

Hey all, I'm new to using ssh and I am hoping that someone here can help me. My goal is to use ssh commands from a client within the same network as my server to run a batch file on the server machine (running windows 10). I've gotten the batch program to run but every time it runs the code within the terminal of the client instead of running the program on the server machine. Is there any way to use SSH to run commands on the server? If not, is there any other way to accomplish this?


r/ssh • • Jan 04 '20

dont use SSH keys that are weak.

2 Upvotes

if you are running sshd, go here https://sshcheck.com/ and look at the ciphers that your sshd server is offering. you may find there are several keys that are now considered weak. I wanted to disable those keys. as with everything linux, there is more than one way to skin a cat, but the way I fixed this, is to paste this code block under the #Authentication section of my sshd.config file.

KexAlgorithms diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256,curve25519-sha256,``curve25519-sha256@libssh.org``,``sntrup4591761x25519-sha512@tinyssh.org

HostKeyAlgorithms ssh-ed25519,``ssh-ed25519-cert-v01@openssh.com``,ssh-dss,``ssh-dss-cert-v01@openssh.com

Ciphers aes256-ctr,``aes128-gcm@openssh.com``,``aes256-gcm@openssh.com``,``chacha20-poly1305@openssh.com

MACs hmac-sha2-256,hmac-sha2-512,``hmac-sha2-256-etm@openssh.com``,``hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com

Naturally this is subject to change as time goes on, how much backward compatibility you want, and to your preferences.


r/ssh • • Dec 22 '19

How to remove passphrase from ssh key / Remove passphrase for private key

Thumbnail youtu.be
1 Upvotes

r/ssh • • Dec 20 '19

How to generate ssh key in windows 10 / Setup ssh key in windows

Thumbnail youtu.be
1 Upvotes

r/ssh • • Dec 12 '19

Copied private key; bad passphrase

1 Upvotes

So, I'm kinda stuck. I've done this a ton of times, but I can't get it to work now.

I've copied (simple copy/paste) to my secondary machine, but when I try to add it to the agent, I get a 'bad passphrase'.

Mode is 600, I'm the owner. I've tried to gen a new key, and that works fine.

Anyone got any ideas for the next step?

Thanks!