Skip to content

Using git-remote configuration to perform SSH tasks

License

Notifications You must be signed in to change notification settings

chernjie/git-remote-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-ssh


Using git-remote configuration to perform SSH tasks.

Consider this:

# from within your git repository
$ git remote add web1 user@web1:/var/www/html
$ git ssh web1 pwd -P

is the same as running:

$ ssh user@web1
$ cd /var/www/html
$ pwd -P

Features

  • git-ssh supports all SSH options, including pseudo-tty (-t/-T)
  • As long as the git remote is ssh-able, git-ssh will work. Supported git protocols are: ssh://, git+ssh://, host:directory
  • when no command is provided, git-ssh will open a remote shell in the designated directory.

Usage

git ssh [ssh options] <remote> [<command>]

About

Using git-remote configuration to perform SSH tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages