Rambles of Ev
  • Home
  • About
  • Search

ssh

A collection of 2 posts
Bash

SSH Tunnels

Bash script found here: https://gist.github.com/scy/6781836 * -fRun in the background before command execution. * -NDon’t execute any commands * -TDisable pseudo-tty allocation. * -S socketnameUse a control socket with name socketname * -MPut control socket in master mode * -O check, exitControl command #!/bin/bash ip="1.1.1.
10 Feb 2019 1 min read
Bash

ssh-copy-id and sshd port

For security purposes, I don’t run sshd on the default port (22). This gave me some problems when attempting to use the commandssh-copy-id. Ideally, you’d expect the following to work: > ssh-copy-id -p XXXX -i '~/.ssh/id_rsa.pub' username@host However, that didn’t do
10 May 2012 1 min read
Page 1 of 1
Rambles of Ev © 2026
Powered by Ghost