dropbear rsa key problem
Using public key authentication with dropbear ssh client is a little different from regular openssh clients. Dropbear doesn't lookup users .ssh directory for user's private key. You should expicitly say which private key will be used for session with the -i parameter. Whole process described below:
First of all, you sould create a rsa key with dropbearkey in /home/user/.ssh directory
~/.ssh$ dropbearkey -t rsa -f id_rsa
This command generate a public key, you sould copy and paste it to other PC's in authorized_keys file.
(you souldn't paste Fingerprint line, only key line)
Try, connect to PC this commad:
~$ dbclient -y -i ~/.ssh/id_rsa user@ip
Finally you sould use this command for scp
~$ scp -S dbclient -i ~/.ssh/id_rsa fileName user@ip:/dir
- 0 Comment
- Erdem Oguz
- 24 Jul 2008, 10:35
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Redirecting tcp / udp ports with socat
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Passwordless sudo setup
- Users with /bin/false shell to login on vsftpd
- Scp resume
- Using lsof utility
- dropbear rsa key problem
- Enabling remote desktop on a VirtualBox Machine
- XFS Filesystem has duplicate UUID problem
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
