close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_fs-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Feb 23, 2009, 5:56:24 PM (17 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v9
|
v10
|
|
| 42 | 42 | || !BatchMode || If set to ``yes'', passphrase/password querying will be disabled. This option is useful in scripts and other batch jobs where no user is present to supply the password. The argument must be ``yes'' or ``no''. The default is ``no''. || |
| 43 | 43 | || !PubkeyAuthentication || Specifies whether to try public key authentication. The argument to this keyword must be ``yes'' or ``no''. The default is ``yes''. This option applies to protocol version 2 only. || |
| | 44 | |
| | 45 | * 每台ssh重新啟動 |
| | 46 | 改寫一個shell如下,就可以自動把改好的ssh_config檔複製到每台節點並重新啟動ssh |
| | 47 | {{{ |
| | 48 | #!/bin/bash |
| | 49 | |
| | 50 | for ((i=2;i<=7;i++)); |
| | 51 | do |
| | 52 | scp /etc/ssh/ssh_config "192.168.1.$i":/etc/ssh/ssh_config |
| | 53 | ssh "192.168.1.$i" /etc/init.d/ssh restart |
| | 54 | done |
| | 55 | }}} |