tailieunhanh - .Pro OpenSSH phần 6

tự động hóa nhiệm vụ. Với một cụm từ mật khẩu, cần phải nhớ nhiều mật khẩu đã được loại bỏ, nhưng đánh máy Tìm thấy 23 số nguyên tố an toàn của 7033 ứng cử viên trong 121 giây U các tùy chọn-U đọc cho phép người dùng tải lên của khóa riêng RSA vào thẻ thông minh tại các vị trí thiết bị quy định. | 132 CHAPTER 6 AUTHENTICATION moduli file previously generated stahnke@rack ssh-keygen -T moduli-1024 -f moduli Wed Mar 09 23 54 47 2005 Found 32 safe primes of 11701 candidates in 188 seconds -W generator When testing prime number candidates for DH-GEX the -W option can be used to specify the specific generator. The generator has possible values of 2 3 and 5. The following example tests prime number candidates with a generator moduli file previously generated stahnke@rack ssh-keygen -T moduli-1024 -f moduli -W2 Wed Mar 09 00 05 26 2005 Found 23 safe primes of 7033 candidates in 121 seconds -U reader The -U option allows a user to upload his or her private RSA key onto the smartcard at the specified device location. SSH Agents Public key authentication can offer authentication that is noninteractive which is ideal for users connecting to remote hosts and automating tasks. With a passphrase the need to remember multiple passwords has been eliminated but typing the passphrase to gain access to any remote host still occurs. Luckily OpenSSH includes a program called ssh-agent that stores your private keys used for public key authentication. What Is an ssh-agent The concept behind an ssh-agent is that you store your identity authentication information at the beginning of a session and then when remote connections are being established they consult the agent behind the scenes. The program ssh-agent sets up a socket that stores authentication information normally in tmp and sets up some environment variables to make the ssh client and shell aware of the socket s existence. The normal output from running ssh-agent is a few environmental variables. Just displaying their values provides little value. To properly invoke the ssh-agent the ssh-agent output should be captured and directed to the shell as in this example stahnke@rack eval ssh-agent Agent pid 19254 To see which environment variables are set you can use a set command. stahnke@rack set grep SSH SSH_AGENT_PID 19254 .

TỪ KHÓA LIÊN QUAN