Skip to content
rveerdPublic

About

A limited shell for remote access to Bazaar repositories.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages