search for: id_file

Displaying 9 results from an estimated 9 matches for "id_file".

2012 Oct 02
1
patch proposal for ssh-copy-id script
Hello everybody, I write an update version of ssh-copy-id script in order to support sshd non running on standard port 22. So I added another parameter to the script to allow user to specify the daemon port. I've also changed the way the command line parameter are retrieved in order to have a more "robust" way of getting them using getopts. Due to this change host name must be
2011 Dec 20
3
ssh-copy-id -p port option
...fedorapeople.org/openssh/718674/ssh-copy-id-p-port.patch Thanks, Petr diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 9451ace..a824382 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -6,22 +6,49 @@ # or one of the other keys in your ssh-agent, for this to work. ID_FILE="${HOME}/.ssh/id_rsa.pub" +COMMAND="ssh" -if [ "-i" = "$1" ]; then - shift - # check if we have 2 parameters left, if so the first is the new ID file - if [ -n "$2" ]; then - if expr "$1" : ".*\.pub" > /dev/null ; then...
2010 Nov 15
7
good shell script examples?
I am looking for a beginner guide to shell scripting simple tasks on CentOS (e.g. ssh'ing into a server / router / switch, checking for certain things, then exiting and going to the next IP). Does anyone have any suggestions on where to look? (I'm relatively new to bash) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Jan 31
1
RFC: ssh-copy-id tweaks
I'd like to propose a couple of tweaks to ssh-copy-id: o Change the default ID_FILE from identity.pub to id_dsa.pub or perhaps {id_dsa,id_rsa,identity}.pub to cover all the bases, although the patch below deals only with id_dsa.pub - it would need some more tweaking to deal with more than one (possibly non-existent) file. o If the destination authorized_keys file already co...
2009 Aug 27
1
[patch] ssh-copy-id: improve error reporting with -i and documentation
...7 diff -u -p -r1.7 ssh-copy-id --- contrib/ssh-copy-id 21 Jan 2009 09:29:21 -0000 1.7 +++ contrib/ssh-copy-id 27 Aug 2009 15:57:49 -0000 @@ -18,6 +18,10 @@ if [ "-i" = "$1" ]; then fi shift # and this should leave $1 as the target name fi + if [ ! -e "$ID_FILE" ]; then + echo "$0: ERROR: $ID_FILE does not exist" >&2 + exit 1 + fi else if [ x$SSH_AUTH_SOCK != x ] ; then GET_ID="$GET_ID ssh-add -L" Index: contrib/ssh-copy-id.1 =================================================================== RCS file: /cvs/...
2012 Nov 07
1
ssh-copy-id usability improvement
...sh-copy-id +++ b/contrib/ssh-copy-id @@ -11,10 +11,10 @@ if [ "-i" = "$1" ]; then shift # check if we have 2 parameters left, if so the first is the new ID file if [ -n "$2" ]; then - if expr "$1" : ".*\.pub" > /dev/null ; then - ID_FILE="$1" - else + if [ -f "$1.pub" ]; then ID_FILE="$1.pub" + else + ID_FILE="$1" fi shift # and this should leave $1 as the target name fi And also a patch for the proposed new ssh-copy-id script at http://git.hands.com...
2007 Jun 21
2
segfault during cbind
...base > csvFile <- read.csv("Barley1.na22.annot.csv", as.is=TRUE, na.strings="---") > probe <- csvFile[,1] > gb <- csvFile[, 9] > rm(csvFile) > gb <- lapply(unlist(gb), + function(x) toupper(strsplit(x,"\\.")[[1]][1])) > id_file <- cbind(probe,gb) *** caught segfault *** address 0x2c9f0, cause 'memory not mapped' Traceback: 1: cbind(probe, gb) 2: makeBasefiles("Barley1.na22.annot.csv") aborting ... Segmentation fault valgrind says ==25398== Invalid read of size 8 ==25398== at 0x4E7BB2D: cbind...
2008 Oct 07
7
Rails production version not accessible from other machines
Hi, I just deployed my first rails application in production mode using Capistrano and mongrel clusters. Here are the lines in my mongrel_cluster.yml file. cwd: /myrailsdeploymath/current log_file: log/mongrel.log port: "8000" environment: production address: myserver.mydomain.org id_file: tmp/pids/mongrel.pid servers: 3 My development and production machine are the same. When I run `cap deploy`, I can view my application perfectly well at: http://myserver.mydomain.org:8000/app from my own machine "myserver". However, I am unable to access the application from other co...
2011 Aug 14
10
Call for testing: OpenSSH-5.9
Hi, OpenSSH 5.9 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains a couple of new features and changes and bug fixes. Testing of the new sandboxed privilege separation mode (see below) would be particularly appreciated. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The