Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 791 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 791 Bytes

pass-ssh

Allows you to start an SSH session from a pass entry.

Requirements

Installation

Drop ssh.bash into /usr/lib/password-store/extensions (distro specific) or ~/.password-store/.extensions/ssh.bash and run chmod +x on it. Please note that for the latter you will have to manually enable this add-on. Please see here for instructions on how to do that.

Usage

  1. Create a new entry in pass with the format (sshflags is optional)
    <password>
    ssh: username@host
    sshflags: -q -D 1337
    
  2. Run pass ssh <path to entry> <additional parameters>
  3. You will be dropped into the requested ssh shell