search for: id_

Displaying 16 results from an estimated 16 matches for "id_".

Did you mean: id
2011 Feb 24
2
create dummy variables by for loop
HI, Dear R community, I try to create 100 dummy variables like the following: ack$id_1 <- (ack$ID==1)*1 ack$id_2 <- (ack$ID==2)*1 .. . ack$id_100 <- (ack$ID==100)*1 I used the following codes: for(i in 1:100){ ack$id_[i] <- (ack$ID==i)*1 } But only one column is created, can anyone help me? Thanks a lot! -- Sincerely, Changbin -...
2010 Feb 14
2
paperclip is making me crazy
seems pretty simple, my model... has_attached_file :pic_1, :styles => { :thumb => "120x90" }, :url => "/:attachment/:id_:style.:extension", :path => ":rails_root/public/system/:attachment/:id_:style.:extension" my view... <% form_tag(:action => ''create'', :html => { :multipart => true }) do -%> <label for="ad_pic_1">Image</label> <%= f...
2009 Oct 30
2
Efficient way to code using optim()
Hi all, I am trying to estimate a simple logit model. By using MLE, I am maximizing the log likelihood, with optim(). The thing is, each observation has different set of choice options, so I need a loop inside the objective function, which I think slows down the optimization process. The data is constructed so that each row represent the characteristics for one alternative, and CS is a
2009 Sep 03
12
paperclip is not saving the files
Hi all, I''ve installed paperclips but paperclip is not saving the files my model has has_attached_file :attachment,:styles => { :medium => "300x300>", :thumb => "100x100>" } and i have db migration as class AddAttachmentToPolicies < ActiveRecord::Migration def self.up add_column :policies,
2006 Jan 13
2
LoginGraceTime
...n 30 seconds. We were also seeing messages like: " Timeout before authentication" in /var/adm/messages when the sessions were dropping. Setting LoginGraceTime to 0 (or something like 12 hours) was the leading candidate for a work around. We noticed that if we removed/renamed the ~/.ssh/id_rsa and ~/.ssh/id_rsa files on the client side, the connections would stay up. Similarly, an ssh -i /dev/null allowed the connections to stay up, but that was an ugly solution at best. It didn't matter if the id_[rd]sa keys matched an entry in the authorized_keys2 file on the server. The conne...
2012 Jun 06
2
ggplot2: legend for geom_rug() ..?
Hi, I was trying to make another legend for the rug plot. Sample code: library(ggplo2) ids <- paste('id_',1:3,sep='') before <- sample(9) after <- sample(1:10,9) dat <- as.matrix(cbind(before,after)) rownames(dat) <- rep(ids,3) position <- c(rep(10,3),rep(13,3),rep(19,3)) mdat <- cbind(melt(dat),position) ggplot(mdat, aes(position, value)) + geom_point(aes(colour = X2))...
2005 Aug 18
1
ssh pre-shared key
I might be going crazy... perhaps my notes and memory has failed me but it ain't working... on host machine... ssh-keygen -t rsa ssh-keygen -t dsa scp *pub root at remote:/root on remote machine... cat /root/id_{r,d}sa.pub >> /root/.ssh/authorizedkeys_2 but it still asks for password when I try to connect as root from remote host logsAug 18 15:51:13 srv1 sshd[1630]: Accepted password for root from ::ffff:192.168.2.2 port 51728 ssh2 on /var/log/secure on host machine show connection but as an ipv6 a...
2002 Jan 15
3
ssh-agent too easy to hack
...e , with their own, but this can easily be detected, with cryptographic checksums on key system files, but even the most paranoid organisation might overlook regular checking of permissions on the files/directories found under SSH_AUTH_SOCK 3/ ssh and sshd, do a really good job of totally ignoring id_???/identity/authorized_keys etc if the permissions aren't absolutely as required, shouldn't the same stringent tests be applied to the directories/sockets used by the agent? (yes I realize that anyone whose sued to root, can easily su to be me) Tim McGarry
2007 Feb 20
1
crash in mail_cache_transaction_reset on rc22
...=0xe2ac8, data=0xffbff5ec, size=0xffbff5e8, threshold=1) at istream.c:250 ret = 0 read_more = false #6 0x0007e8c4 in message_get_body_size (input=0xe2ac8, body=0xffbff660, has_nuls=0x0) at message-size.c:105 msg = ( const unsigned char *) 0xe2cf7 "\ndary_(ID_/CFD74Co3EWCZqYkdHlE8A)\"\r\nt>\r\nSS at cox.net>,\r\nil.com>,\r\n\r\n" i = 0 ---Type <return> to continue, or q <return> to quit--- size = 1 missing_cr_count = 0 __PRETTY_FUNCTION__ = "message_get_body_size" #7 0x0002e5e4 in...
2003 Feb 18
0
[Bug 498] New: ssh default identity broken?
...enbsd.org/cgi-bin/man.cgi?query=ssh OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: hauser at acm.org my ssh under cygwin has no ~/.ssh/identity ~/.ssh/id_?sa and as per http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config no ~/.ssh/config nor /etc/ssh/ssh_config but for some odd reason, it goes to /rsync/.ssh/identity ??? (since I placed an identity file there without a password, before using -vvv, it was hard to find it...) ------- You ar...
2015 Apr 22
3
shared private key
...rized_keys file when the client software is installed. I can't think of a way to get the public key from the server other than the private key hardcoded into the installer and the corresponding hardcoded public key in the server's authorized_keys file like this... command="cat ~/.ssh/id_rsa.pub",other-safty-restrictions ssh-rsa AAAA.... With this anybody can get the server user's public key. My installer looks like this.... #!/bin/bash # install software ..... echo -n "who's your server? " read server # get host keys from server, verify key fingerprints,...
2015 Apr 22
2
shared private key
...wrote: >> >> Hi SSH-devs, >> >> This may be a bit off topic for this list, but.... >> >> Would it be ok to share a private key in an installer script so long >> as the corresponding public key is setup like this... >> >> command="cat ~/.ssh/id_rsa.pub" ssh-rsa AAAA... > > You would also need at least no-port-forwarding > > I'd add all available restricting options. > > >> I'm looking for a secure way to get a user to share their public key >> through SSH which can be invoked from an installer on...
2014 Apr 01
4
How can I have the same ssh key for dual boot (ssh-keygen)
I use: ssh-keygen -t rsa to generate a key file (id_rsa.pub) which I copy into authorized_keys2 on other machines in order to permit ssh to these machines without being asked for a password. The thing is that I have dual boot on this machine: one for fedora and one for ubuntu. The two key files which were generated on these machine are different. I...
2014 Jan 15
6
[Bug 2196] New: ssh-copy-id: selects "wrong" pubkey
...n: 6.4p1 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: ssh-copy-id Assignee: unassigned-bugs at mindrot.org Reporter: felix.kaiser at fxkr.net Hi, I have many SSH keys named "id_rsa.NAME.pub" in addition to my default SSH key named "id_rsa.pub". Since OpenSSH 1.13 [1], ssh-copy-id uses "ls -t ${HOME}/.ssh/id*.pub" to determine which key to copy by default. I believe this "all keys, newest first" approach is very unlikely to be what the u...
2016 Apr 14
2
(rfc) too many keys, usecase?
...2: Broken pipe > > mux_client_request_session: read from master failed: Broken pipe > > Failed to connect to new control master > > > > Yes, I do have a few keys in ~/.ssh and use ControlMaster: > > > > debug1: Offering RSA public key: <userhomedir>/.ssh/id_rsa > > debug1: Offering RSA public key: <userhomedir>/.ssh/id_rsa > > debug1: Offering RSA public key: <userhomedir>/.ssh/another_id_rsa > > debug1: Trying private key: <userhomedir>/.ssh/id_dsa > > debug1: Offering ECDSA public key: <userhomedir>...
2013 Jan 29
16
[Bug 2066] New: ssh tries the keys proposed by the agent before those passed with -i
https://bugzilla.mindrot.org/show_bug.cgi?id=2066 Bug ID: 2066 Summary: ssh tries the keys proposed by the agent before those passed with -i Classification: Unclassified Product: Portable OpenSSH Version: 6.0p1 Hardware: All OS: Linux Status: NEW Severity: normal