Skip to content

A limited shell for remote access to Bazaar repositories.

Notifications You must be signed in to change notification settings

rveerd/bzr-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

README

A limited shell for remote access to Bazaar repositories.

Based on this post.

When this script is called from a Bazaar client through an URL such as "bzr+ssh://bzr-user@bzr-server/path/to/branch", it receives two command line options:

  • $1 is set to "-c";
  • $2 is set to "bzr server --inet --directory=/path/to/branch --allow-writes" (for Bazaar 2.6).

The script currently runs the default shell with these options but you can use another shell, run another command or manipulate the options, such as setting another base directory.

A possible alternative is using the ForceCommand option in sshd_config, possibly together with ChrootDirectory to limit access to the file system.

About

A limited shell for remote access to Bazaar repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages