As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ssh]

Secure Shell - a network protocol for exchanging data throughout secure channel with most common uses of remote command execution (remote shell/console) and file transfer. Use this tag for programs and scripts using the SSH protocol, including the associated SCP and SFTP file-transfer mechanisms.

Filter by
Sorted by
Tagged with
4 votes
0 answers

Command-line ssh address book app

I'm trying to learn a bit about Golang and decided to try out building an SSH address book command-line app. I used a YAML library to serialize and store data in a configuration file. The app has a ...
Inondle's user avatar
  • 141
6 votes
2 answers

Reading an SSH config file for an IP

I wrote this class which reads an SSH config file and checks whether an IP exists. If the IP does not exist, the class adds a block for that IP address. Header file: ...
zadane's user avatar
  • 327
3 votes
1 answer

Simple SSH bruteforcer in Ruby

I'm pretty new to Ruby, and working in the IT security field, I thought to make something useful to my work while I learn the language (even though I'm reinventing the wheel). The script is working ...
RedPanda's user avatar
  • 105
13 votes
1 answer

Load SSH key remotely

I often create new accounts or virtual machines, and then have to load my SSH public key/signature in to the authorized keys on that account. That process can be tedious, so I created this script that ...
rolfl's user avatar
  • 97.2k
2 votes
1 answer

Bash menu for accessing network equipment

I wrote a menu in bash to access network equipment, but now there are too many of them to show in one screen to permit selecting one without scrolling up or down. I need it to be improved. I've ...
spwlite's user avatar
  • 21
6 votes
2 answers

SSH chatting tool

I have taught myself some bash and already knew some AppleScript, so I have come up with this SSH chatting tool for OS X users. It allows you to chat from a terminal to another OS X computer. One ...
insanikov's user avatar
  • 539
3 votes
1 answer

Execute script on remote host and obtain variables on localhost

This executes a predefined script on a remote host, and somehow retrieve variable values without affecting STDOUT and STDERR. ...
Devon's user avatar
  • 151
2 votes
2 answers

Uploading a file using Net::SFTP

I have a method to upload a file using the Net::SFTP gem: ...
Jackson's user avatar
  • 153
3 votes
2 answers

Locking a remote file

I am using Java to modify remote files in different machines by ssh. At the same time, only one thread is allowed to modify the file in one machine. I implement the logic like this: ...
NingLee's user avatar
  • 175
1 vote
2 answers

SSH Class with a method for downloading via SCP

I am looking for a code review on this class. I found myself writing this logic a lot, so trying to save myself some time. ...
fr00z1's user avatar
  • 514
4 votes
1 answer

Sending an XML file to an SFTP site

I have a console application that basically retrieves XML content, writes to the XML file and sends the file to an SFTP site: ...
Sunny's user avatar
  • 369