As I started my tutorial on adding fonts to PuTTY on the N95, I very quickly decided that having to enter a user name and password every time I logged in was taking too long. 내가 PuTTY의 N95의에 글꼴을 추가에 내 튜토리얼 시작, 난 아주 빠르게하는 데 너무 오래 걸려 있던 사용자 이름과 암호를 입력 난에 기록될 때마다하기로했다. So I generated an RSA key pair with a blank pass phrase just to save time. 그럼 난 그냥 시간을 절약하기 위해 빈 패스에서 RSA 키 쌍을 생성되는 문구와 함께. Don’t worry, of course I deleted the key pair as soon as I was finished. 물론, 곧 내가 키 쌍을 삭제가 끝난로 걱정하지 마십시오. The last thing I need is to lose my phone and have some stranger logging into my server! 내가 필요한 건 내 전화를 잃고 어떤 낯선 사람이 내 서버에 로그인해야합니다!
Note: this procedure is not specific to just the N95, nor is it only specific to Linux. 참고 :이 절차를 그냥 N95의 특정되지 않으며, 그것만이 리눅스로 특정했다. I use Linux in my examples because I’m not a Windows user. 때문에 윈도우 사용자가 아니에요 내 예제에서 리눅스를 사용합니다. The procedure described below on how to generate RSA keys can be adapted to puttygen.exe on Windows. RSA는 키 생성 방법에 관한 절차를 아래로 출제될 수있습니다 puttygen.exe 윈도우에서 설명했다.
- Here is what I did on the Linux box first: 여기서 나는 리눅스 박스는 처음에 무슨 짓을입니다 :
[user@radon ~]$ ssh-keygen [라돈 @ 사용자 ~] $는 ssh - keygen
Generating public/private rsa key pair. 생성 공개 / 비공개 RSA는 키 쌍을.
Enter file in which to save the key (/home/user/.ssh/id_rsa): 어떤 파일을 저장할 입력 (/ 가정 / 사용자 / .ssh / id_rsa) 키 :
Created directory ‘/home/user/.ssh’. '디렉토리를 생성 / 가정 / 사용자 / .ssh'.
Enter passphrase (empty for no passphrase): 글 (글)가 비어 입력 :
Enter same passphrase again: 또 같은 입력 글 :
Your identification has been saved in /home/user/.ssh/id_rsa. 귀하의 신분에 저장하고있다는 / home / 사용자 / .ssh / id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub. 귀하의 공개 키에 저장하고있다는 / home / 사용자 / .ssh / id_rsa.pub.
The key fingerprint is: 지문의 핵심이다 :
79:8a:08:bd:fb:da:71:59:f4:28:e6:c3:01:12:5a:69 user@radon.example.com 79:8 a :를 08 : BD 사용 : 플라잉 블루 : 다 : 71:59 : F4를 : 28 : E6 :도 C3 : 1시 12분 5초 : 69 user@radon.example.com[user@radon ~]$ cd .ssh/ [라돈 @ 사용자 ~] $에서 cd.는 ssh /
[user@radon .ssh]$ ls [사용자 @ 라돈. ssh에서] $인가
id_rsa id_rsa.pub known_hosts known_hosts에서 id_rsa id_rsa.pub
[user@radon .ssh]$ cat id_rsa.pub > authorized_keys [사용자 @ 라돈. ssh에서] $ 고양이 id_rsa.pub> authorized_keys
[user@radon .ssh]$ chmod 644 authorized_keys [사용자 @ 라돈. ssh에서] $ chmod를 644 authorized_keysThe chmod command above is very important. 위의 명령은 chmod를 매우 중요하다. Your authorized_keys file must only be writable by you. 귀하의 authorized_keys 파일을 쓰기에만해야합니다. If is is group writable sshd will refuse to use it. sshd를 사용하는 경우 그룹 쓰기를 거부한다.
- This step is also very important! 또한이 단계는 매우 중요합니다! Next you must convert your OpenSSH private key into PuTTY’s SSH-2 key format. 다음 PuTTY의에 SSH - 2 키를 형식으로 귀하의 개인 키를 오픈 변환해야합니다. I initially tried using the OpenSSH private key itself, not realizing that PuTTY couldn’t read it properly. 나는 오픈 개인키 그 자체 PuTTY를 사용하여 제대로 읽을 수가 없었을 실현하지 처음 보았습니다. It took a bit of digging to figure out why it wasn’t working. 그것은 작동하지 않는 이유가 있었 는지를 알아낼 파고의 비트했다. Who knew that PuTTY, OpenSSH, and ssh.com’s implementations of SSH-2 keys were so different? 누가 PuTTY, 오픈, 그리고 ssh.com 'SSH를 구현이야 - 2 열쇠를 너무 달랐다 있었어?
[user@radon .ssh]$ puttygen id_rsa -o id_rsa.ppk [사용자 @ 라돈. ssh에서] $ puttygen id_rsa 들어 - o id_rsa.ppk
- Next, I plugged my N95 into my laptop with a USB cable and copied id_rsa.ppk to a temp folder on the phone’s mass memory. 다음, 제 노트북에 USB 케이블과 휴대폰의 대용량 메모리에 임시 폴더에 복사 id_rsa.ppk 내 N95의 전원 케이블이 연결되어있다.
- Now, fire up PuTTY on your N95 and choose Options -> Edit -> General , then add the remote host name or address, as well as your user name. 자, N95의에 PuTTY를 해고하고 선택할 옵션 -> 편집 -> 일반, 다음 원격 호스트의 이름이나 주소뿐만 아니라 사용자 이름으로 추가합니다.
- Next, press the Right toggle once to move to the next screen. 다음, 일단 다음 화면으로 이동하려면 오른쪽 토글 키를 누릅니다. This is where you select your Private Key . 이 자리에서 당신이 너의 개인 키를 선택합니다. Follow the sequence outlined in the screenshots below to see how I chose E:\temp\id_rsa.ppk. \ id_rsa.ppk 순서는 아래 스크린샷에서 내가 어떻게 선택을보고 설명한 전자 : \ temp라는 따릅니다.
- Press Back twice to go back to the main PuTTY screen, then press Options -> Connect and you are now connected without needing a password. 언론 위로 PuTTY 두 번 메인 화면으로, 키를 누른 돌아가야 옵션 -> 연결하고 당신은 지금 비밀 번호가 필요없이 연결되어있습니다.


































{ 0 comments… (0 코멘트 ... add one now 지금 하나 추가 } )
Leave a Comment 코멘트를 남겨주세요