You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: osconf [options] node file
System Configuration Management
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-d, --daemon run as daemon
Configuration Management:
-g, --get get config from remote
-p, --put put config to remote
--list show nodes message
-e default editor is vim
--edit=nano choose from vi, vim, nano
Repositories Management:
--init=directory init local repositories
--clone=http://domain/project.git
clone git repositories
--pull pull config from remote repositories
--push push config to remote repositories
--add=/path/to/file
add file to repositories
--status show status
--commit=message commit to local repositories
--log show log
Homepage: http://netkiller.github.io Author: Neo <netkiller@msn.com>
# install key file to remote host.
# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
f0:db:30:99:1e:72:5a:0f:9d:a7:2d:66:ad:01:ca:2a root@localhost.localdomain
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| . |
| o + . |
| . S o . |
| . B X = |
| + o O o |
| E . o + |
| .. . |
+-----------------+
$ ssh-copy-id root@host
$ osconf --init=system
Initialized empty Git repository in /opt/www/system/.git/
-