2010-12-30 20:52:24 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex-shell - Restricted login shell for git-annex only SSH access
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
git-annex-shell [-c] command [params ...]
|
2010-12-30 20:52:24 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
git-annex-shell is a restricted shell, similar to git-shell, which
|
|
|
|
can be used as a login shell for SSH accounts.
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2011-03-04 01:55:56 +00:00
|
|
|
Since its syntax is identical to git-shell's, it can be used as a drop-in
|
|
|
|
replacement anywhere git-shell is used. For example it can be used as a
|
|
|
|
user's restricted login shell.
|
|
|
|
|
2010-12-30 20:52:24 +00:00
|
|
|
# COMMANDS
|
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
* configlist directory
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2011-03-04 01:55:56 +00:00
|
|
|
This outputs a subset of the git configuration, in the same form as
|
2010-12-31 00:08:22 +00:00
|
|
|
`git config --list`
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
* inannex directory [key ...]
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
This checks if all specified keys are present in the annex,
|
|
|
|
and exits zero if so.
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
* dropkey directory [key ...]
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
This drops the annexed data for the specified keys.
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
* recvkey directory key
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
This runs rsync in server mode to receive the content of a key,
|
|
|
|
and stores the content in the annex.
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
* sendkey directory key
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2010-12-31 00:08:22 +00:00
|
|
|
This runs rsync in server mode to transfer out the content of a key.
|
2010-12-30 20:52:24 +00:00
|
|
|
|
2011-01-04 21:33:24 +00:00
|
|
|
Note that the directory parameter should be an absolute path, otherwise
|
|
|
|
it is assumed to be relative to the user's home directory. Also the
|
|
|
|
first "/~/" or "/~user/" is expanded to the specified home directory.
|
|
|
|
|
2010-12-30 20:52:24 +00:00
|
|
|
Any other command is passed through to git-shell.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
Same as git-annex or git-shell, depending on the command being run.
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
|
|
|
git-shell(1)
|
|
|
|
|
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <joey@kitenet.net>
|
|
|
|
|
|
|
|
<http://git-annex.branchable.com/>
|
|
|
|
|
|
|
|
Warning: this page is automatically made into a man page via [mdwn2man](http://git.ikiwiki.info/?p=ikiwiki;a=blob;f=mdwn2man;hb=HEAD). Edit with care
|