BigFont Blog
  • Home
  • About
  • Bibliography (Work)

open-ssh

A collection of 2 posts

bash

Use ssh to run a local script with arguments on a remote host.

ssh [email protected] -i rsa_private_key 'bash -s arg01 arg02' < some_script.shSee also: https://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-a-shell-script-on-a-remote-machine

  • Shaun Luttin
    Shaun Luttin
1 min read
ssh

Open-SSH commands that are helpful to me on a regular basis

On the Client // Start the ssh-agent eval `ssh-agent -s` // Create a new key; as a convention... // 1. put the user as a comment // 2. name the file as hostname_algorithm ssh-keygen -t rsa

  • Shaun Luttin
    Shaun Luttin
2 min read
BigFont Blog © 2022
Latest Posts Ghost