dsa / rsa 키 생성
클라이언트 데스크탑
root@byoungguk-desktop:~# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
x:x:x:.... root@byoungguk-desktop
The key's randomart image is:
+--[ DSA 1024]----+
| |
| . |
| . + |
| . o o |
....
+-----------------+
root@byoungguk-desktop:~# cd /root/.ssh/
root@byoungguk-desktop:~/.ssh# ls -al
합계 20
drwx------ 2 root root 4096 2011-09-16 14:25 .
drwx------ 25 root root 4096 2011-09-15 11:28 ..
-rw------- 1 root root 672 2011-09-16 14:25 id_dsa
-rw-r--r-- 1 root root 612 2011-09-16 14:25 id_dsa.pub
-rw-r--r-- 1 root root 270 2010-07-23 12:28 known_hosts
파일중 id_dsa.pub 내용을 복사
접속하고자 하는 서버 계정에서 .ssh 디렉토리의 authorized_keys 파일에 추가함. 없으면 파일 만들고.
.ssh 디렉토리, authorized_keys 는 계정의 소유권으로 읽기,쓰기가능해야 한다.(0600)
접속 테스트
ssh xxx@ip
원격에서 명령 실행.
ssh xxx@ip df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda2 9920624 7767680 1640876 83% /
/dev/xvda1 101086 26739 69128 28% /boot
/dev/xvda4 18034160 8734112 8383944 52% /home
tmpfs 262232 0 262232 0% /dev/shm
/dev/xvdc1 20635700 2980460 16607004 16% /data3
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7830 | 10년 전 | 460 | ||
| 7829 |
|
10년 전 | 642 | |
| 7828 | 10년 전 | 570 | ||
| 7827 | 10년 전 | 469 | ||
| 7826 | 10년 전 | 494 | ||
| 7825 | 10년 전 | 523 | ||
| 7824 | 10년 전 | 485 | ||
| 7823 | 10년 전 | 426 | ||
| 7822 | 10년 전 | 400 | ||
| 7821 | 10년 전 | 346 | ||
| 7820 | 10년 전 | 368 | ||
| 7819 |
|
10년 전 | 767 | |
| 7818 | 10년 전 | 425 | ||
| 7817 | 10년 전 | 604 | ||
| 7816 | 10년 전 | 441 | ||
| 7815 | 10년 전 | 636 | ||
| 7814 | 10년 전 | 477 | ||
| 7813 | 10년 전 | 433 | ||
| 7812 | 10년 전 | 440 | ||
| 7811 | 10년 전 | 419 | ||
| 7810 | 10년 전 | 615 | ||
| 7809 | 10년 전 | 552 | ||
| 7808 | 10년 전 | 430 | ||
| 7807 | 10년 전 | 441 | ||
| 7806 |
프로그래머7
|
10년 전 | 1363 | |
| 7805 | 10년 전 | 1304 | ||
| 7804 |
zahir1312
|
10년 전 | 805 | |
| 7803 |
|
10년 전 | 1405 | |
| 7802 | 10년 전 | 505 | ||
| 7801 | 10년 전 | 883 | ||
| 7800 | 10년 전 | 1110 | ||
| 7799 | 10년 전 | 594 | ||
| 7798 | 10년 전 | 541 | ||
| 7797 | 10년 전 | 561 | ||
| 7796 | 10년 전 | 395 | ||
| 7795 | 10년 전 | 547 | ||
| 7794 | 10년 전 | 589 | ||
| 7793 | 10년 전 | 1088 | ||
| 7792 | 10년 전 | 510 | ||
| 7791 | 10년 전 | 607 | ||
| 7790 | 10년 전 | 531 | ||
| 7789 |
fbastore
|
10년 전 | 1481 | |
| 7788 | 10년 전 | 586 | ||
| 7787 | 10년 전 | 445 | ||
| 7786 | 10년 전 | 653 | ||
| 7785 | 10년 전 | 624 | ||
| 7784 | 10년 전 | 689 | ||
| 7783 | 10년 전 | 509 | ||
| 7782 | 10년 전 | 532 | ||
| 7781 | 10년 전 | 936 | ||
| 7780 | 10년 전 | 846 | ||
| 7779 | 10년 전 | 799 | ||
| 7778 | 10년 전 | 390 | ||
| 7777 | 10년 전 | 501 | ||
| 7776 | 10년 전 | 498 | ||
| 7775 | 10년 전 | 435 | ||
| 7774 | 10년 전 | 647 | ||
| 7773 | 10년 전 | 401 | ||
| 7772 | 10년 전 | 774 | ||
| 7771 | 10년 전 | 431 | ||
| 7770 | 10년 전 | 672 | ||
| 7769 | 10년 전 | 434 | ||
| 7768 | 10년 전 | 652 | ||
| 7767 | 10년 전 | 1206 | ||
| 7766 | 10년 전 | 534 | ||
| 7765 | 10년 전 | 593 | ||
| 7764 |
잘살아보자
|
10년 전 | 452 | |
| 7763 |
|
10년 전 | 1500 | |
| 7762 |
Tosea
|
10년 전 | 1087 | |
| 7761 | 10년 전 | 692 | ||
| 7760 |
잘살아보자
|
10년 전 | 760 | |
| 7759 |
잘살아보자
|
10년 전 | 598 | |
| 7758 |
잘살아보자
|
10년 전 | 658 | |
| 7757 | 10년 전 | 1279 | ||
| 7756 |
ITBANK
|
10년 전 | 1290 | |
| 7755 | 10년 전 | 1945 | ||
| 7754 | 10년 전 | 1102 | ||
| 7753 | 10년 전 | 922 | ||
| 7752 | 10년 전 | 1421 | ||
| 7751 |
잘살아보자
|
10년 전 | 580 | |
| 7750 |
잘살아보자
|
10년 전 | 508 | |
| 7749 |
잘살아보자
|
10년 전 | 529 | |
| 7748 |
잘살아보자
|
10년 전 | 559 | |
| 7747 |
잘살아보자
|
10년 전 | 637 | |
| 7746 |
잘살아보자
|
10년 전 | 699 | |
| 7745 |
잘살아보자
|
10년 전 | 948 | |
| 7744 |
잘살아보자
|
10년 전 | 441 | |
| 7743 | 10년 전 | 970 | ||
| 7742 |
starbros
|
10년 전 | 865 | |
| 7741 |
잘살아보자
|
10년 전 | 707 | |
| 7740 |
잘살아보자
|
10년 전 | 595 | |
| 7739 |
잘살아보자
|
10년 전 | 487 | |
| 7738 |
잘살아보자
|
10년 전 | 562 | |
| 7737 |
잘살아보자
|
10년 전 | 541 | |
| 7736 |
잘살아보자
|
10년 전 | 561 | |
| 7735 |
잘살아보자
|
10년 전 | 897 | |
| 7734 |
잘살아보자
|
10년 전 | 454 | |
| 7733 |
잘살아보자
|
10년 전 | 564 | |
| 7732 |
잘살아보자
|
10년 전 | 731 | |
| 7731 |
잘살아보자
|
10년 전 | 653 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기