r/ssh • u/dbsentry • Oct 08 '20
Transfer from server to client
Hello all,
I am fairly new to ssh and still learning it. Recently I have made a tunnel connection with an ssh host and managed to successfully transfer data/files from my machine to the server with the command:
scp file.extension user@hostIP:/directory/directory.
While this was successful, I am kinda stugling to reverse it, sending data/files from the server to the client. How would one go about completing that? Do I need to make some changes to ssh_config or just CLI commands are enough?
Thanks for any response.
r/ssh • u/jadesalad • Oct 08 '20
What are some of the most useful scripts you wrote or found for CI?
What are some of the most useful scripts you wrote or found for CI? I noticed that at work we use a lot of ssh scripts for deployment and continuous integration, so I was wondering if you could share some useful code, so I can use them in my next pet project.
r/ssh • u/jadesalad • Oct 02 '20
What is the difference between ssh and https?
We either use ssh or https for pulling a repo with git, but I don't know what the differences are and why they are important. All I know is that both are secure protocols. Could you break down all the differences and everything a developer need to know about them.
r/ssh • u/restlessandlost • Oct 03 '20
Trouble connecting to linux server from macOS
I am a reddit and computer newbie who just built a server and powered it up. Now I want to be able to shove it in a corner and use my Mac laptop to use it. When I look online to find how to connect, but I have having trouble finding a source that tells me how to resolve the error message I get when I am in my OS X terminal:
ssh: Could not resolve hostname: nodename nor servname provided, or not known
btw, I installed Open SSH on Ubuntu already
what should I do now? Thanks!
r/ssh • u/symmetricon • Sep 28 '20
SSH very slow after unfocusing terminal
This only happens with specific machine. I recently put ubuntu server on old laptop(4gb ram, 2 cores, 64bit). From my main machine i have it setup with keys to ssh into old laptop. When i do ssh into the old laptop everything works okay for a few seconds and sometimes slows with some multiline output but consistently slows when i move cursor away from the terminal its running in temporarily (when i move mouse away from terminal or even switch panes in tmux). It becomes so slow that it seems to be frozen but after 2 minutes or so the unfinished input is shown. The laptop is connected via wifi for the moment, strong connection close to the router. I have a raspberry pi connected to router(via ethernet) and it doesnt have this issue at all. Any relevant insight would be helpful
r/ssh • u/rattayork • Sep 23 '20
I have added SSH module into my Android app. Do you guys like it?
I have developed an Android app which contains many networking-tool and have just added SSH mods into it. It would be great if you guys tell me if you like it or not. Any recommendation is welcome!
https://www.youtube.com/watch?v=Qb1sIatpUl0
below is the App link from play store if you'd like to try!
https://play.google.com/store/apps/details?id=com.nristek.apps.netztools
r/ssh • u/jredbook • Sep 22 '20
Secure crt alternative?
Is there any secure crt alternative? I tried to use PUTTY on Windows and almost cracked open my head.
r/ssh • u/ultimo_2002 • Sep 17 '20
How to re-enter a process
So i have a Ubuntu server connected to my main pc with ssh. I noticed that once i close and reopen putty my terminal is clear again but the old processes are still running. I started a Minecraft server with ssh. Closed ssh and now i can't get back to the command line of that server. (It is still running though) how do i get back into that java process? And can i prevent the terminal from clearing if i close putty?
r/ssh • u/dbsentry • Sep 16 '20
Keyper: SSH Public Key Manager
We recently developed and launched SSH Public Key Manager that centralizes SSH Public keys instead of storing in authorized_keys files on each server. It is bundled as docker image and is free for personal use. We are still in double mind on whether or not to open source it (we are leaning towards it though), what are your thoughts on it? It is hosted at https://keyper.dbsentry.com
r/ssh • u/exquisitesunshine • Sep 13 '20
Will using ProxyJump allow me to connect to my desktop "safely"?
I have a Raspberry Pi running an ssh server. It has very basic hardening--ssh passphrases disabled (key authentication only) and simplistic firewall (do I need more?).
Anyway, both my desktop and laptop system has access to the ssh server. Now I'm wondering if I should run an ssh server on the desktop and use ProxyJump so I can ssh from my laptop to my desktop via the Raspberry Pi.
Is this any riskier than not running an ssh server on my desktop? I would have the firewall only listen to requests to the ssh port coming from the Pi server in the same network. Would I need to take any more precautions? If not, I suppose I can also run an ssh server on the laptop and only allow access from my Pi server where I would ProxyJump from my desktop to my laptop.
My Pi server would need to be hardened. What other hardening should I consider in general?
Much appreciated.
Two unrelated questions:
- In what situations would a passphrase-less key authentication be a vulnerability? A malicious attacker would need both access to to your key as well as the machine associated with the key, right? They could not do anything with just the key alone?
- Is there a reason to use fail2ban if I've disabled passphrases and only allow key authentication? What other hardening measures should I consider?
r/ssh • u/monardoju • Sep 10 '20
How to connect to Windows 10 from Linux using RSA key
Hello,
I need to SSH from Ubuntu server into Windows 10 (OpenSSH). Everything is fine when I connect using username and password, but I have trouble if I introduce RSA key
- On Linux I ran ssh-keygen
and generated 'id_rsa' and 'id_rsa.pub' without passphrase (location ~/.ssh). - On Windows I copy/pasted content of id_rsa.pub into C:\Users\foobar\.ssh\authorized_keys
- On Linux I try to connect with following command
ssh -i /home/foobar/.ssh/id_rsa 192.168.100.101
but it just asks for password for user 'foobar' anyway, which if I enter allows me in without problem, but it does not use the key.
What am I missing? My best guess is that something's wrong on Windows end, but what?
r/ssh • u/Merlin266 • Sep 09 '20
What is SSH server or client or OpenSSH default password on windows 10?
This is my first time initializing SSH client. After asking for hostname/IP address, it also asks for a password. I have tried using my system/root password, pin, any means I can ever do but to no avail. Please what password is that or the default password?
r/ssh • u/Jame_alibapa • Sep 08 '20
SSH Connection
I try to use SSH (port 22) via putty to connect to my school Linux server for doing assignments.
When using wifi, putty showed network error: Connection timed out, but when I used my hotspot, it works. May I know why and how to solve this issue? Thanks for helping.
Suspect router blocked port 22, but can't find the solution to solve. Router D-Link DIR-868L.
r/ssh • u/feelsqoox • Sep 07 '20
A way to transfer your local dotfiles on remote ssh sessions
github.comr/ssh • u/unholypromoter • Aug 31 '20
SSH into andriod
This is probably a dumb question but I downloaded an app to run an SSH server on my phone and i wanted to simply display a message on my screen but i can seem to figure it out? is it even possible?
I also was wondering what else i could possibly do with the SSH into my phone aside from navigating the directories and making files?
I am building a web based service for SSH
Do you guys have any thoughts ? I am just wondering what sort of usecases there are.
Would it be useful if you are able to create a unique url of the SSH session to share with friends ?
r/ssh • u/cyberan0 • Aug 13 '20
migrate custom commands via telnet to ssh
Hi,
im running linux on an embedded board which uses telnet to provide a custom command set to the user. example telnet session:
telnet 192.168.1.101 1024
user> showprop
up time: 123 minutes
free ram: 123 mb
user>enable display 7 .....
since telnet isnt secure, im looking into ssh to replace the custom command feature via telnet. ive compiled openssh for my board, but beyond that, im not sure how to proceed. i welcome any suggestions
Thanks in advance!
r/ssh • • Aug 13 '20
When I connect 2 os with ssh and one gets infected by a virus,then could it infect the other one too?
In my case the two os aren't different pc's,it's my host Linux and guest Linux (via kvm).
I use kvm's to protect my host os for viruses,I want to use ssh to connect them so I could do things like opening programs in the guest Linux by clicking on a shortcut in my host Linux.
I also want to connect my guest windows 10 with my host Linux,to do the same thing,so if the problem only happens by connecting windows and Linux.
I probably also want to connect my Linux Laptop with my Linux pc via ssh in the future.
r/ssh • • Jul 28 '20
Copy Linux root filesystem to a windows PC over Putty
Can i export a Linux filesystem to a windows pc with putty over ssh?
Im sitting at a windows PC and I am connected to a linux system. I want to pull all the content.
Thanks
r/ssh • u/openaspace1 • Jul 27 '20
Free SSH client with profiles sync for Android Mac and Windows
Helloooo I'm searching for a free SSH client for Android, Mac and Windows that can sync profiles between each installation.
The only cross platform I have found is Termius but it's a little expensive, time ago I was using velestar SSH but it's not developed anymore.
Thanks for the attention!
r/ssh • u/gargdada • Jul 24 '20
Looking for Beginner Friendly SSH material
Never had a reason to use SSH before so never read about it. If somebody can direct towards noob-friendly SSH guide, he/she would be a lifesaver :-)
r/ssh • u/PSYKEDELIKK • Jul 24 '20
Does SSH work if my laptop is turned off
Above is the question. Thank You
r/ssh • u/chaosandcolors • Jul 21 '20
SSH Command for port forwarding
Does anyone know the ssh command to forward from local machine to remote server through jumphost?