ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Generating Rsa Private Key 2048 Bit Long Modulus
    카테고리 없음 2020. 11. 27. 06:30


    1. Generating Rsa Private Key 1024 Bit Long Modulus
    2. Generating Rsa Private Key 2048 Bit Long Modulus Vs
    1. ..................+++
    2. e is 65537(0x10001)
    3. .............................+++
    4. e is 65537(0x10001)
    5. subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
    6. frk-00027-00027 10:25:14.596011[ forkit ] ERR Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
    7. frk-00027-00027 10:25:14.596379[ forkit ] ERR Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
    8. frk-00027-00027 10:25:14.596705[ forkit ] FTL Capability cap_sys_chroot is not setfor the loolforkit program.| kit/ForKit.cpp:168
    9. frk-00027-00027 10:25:14.597035[ forkit ] FTL Capability cap_mknod is not setfor the loolforkit program.| kit/ForKit.cpp:168
    10. frk-00027-00027 10:25:14.597251[ forkit ] FTL Capability cap_fowner is not setfor the loolforkit program.| kit/ForKit.cpp:168
    11. FATAL: Capabilities are not setfor the loolforkit program.
    12. If you are on SLES11, please set'file_caps=1'as kernel boot option.
    13. wsd-00025-00025 10:29:24.555553[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2623
    14. wsd-00025-00025 10:29:24.555915[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2770
    15. wsd-00025-00025 10:29:24.556188[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    16. wsd-00025-00025 10:29:24.556231[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    17. <shutdown>-00025 10:29:24.556636[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    18. <shutdown>-00025 10:29:24.556656[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    19. <shutdown>-00025 10:29:24.556664[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    20. <shutdown>-00025 10:29:24.556672[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    21. <shutdown>-00025 10:29:24.556679[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    22. <shutdown>-00025 10:29:24.556685[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    23. <shutdown>-00025 10:29:24.557371[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    24. <shutdown>-00025 10:29:24.557449[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    25. ...........+++
    26. e is 65537(0x10001)
    27. ............+++
    28. e is 65537(0x10001)
    29. subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
    30. frk-00027-00027 10:29:25.417678[ forkit ] ERR Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
    31. frk-00027-00027 10:29:25.417960[ forkit ] ERR Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
    32. frk-00027-00027 10:29:25.418305[ forkit ] FTL Capability cap_sys_chroot is not setfor the loolforkit program.| kit/ForKit.cpp:168
    33. frk-00027-00027 10:29:25.418545[ forkit ] FTL Capability cap_mknod is not setfor the loolforkit program.| kit/ForKit.cpp:168
    34. frk-00027-00027 10:29:25.418761[ forkit ] FTL Capability cap_fowner is not setfor the loolforkit program.| kit/ForKit.cpp:168
    35. FATAL: Capabilities are not setfor the loolforkit program.
    36. If you are on SLES11, please set'file_caps=1'as kernel boot option.
    37. wsd-00025-00025 10:33:35.403531[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2623
    38. wsd-00025-00025 10:33:35.403910[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2770
    39. wsd-00025-00025 10:33:35.404195[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    40. wsd-00025-00025 10:33:35.404230[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    41. <shutdown>-00025 10:33:35.404686[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    42. <shutdown>-00025 10:33:35.404705[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    43. <shutdown>-00025 10:33:35.404713[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    44. <shutdown>-00025 10:33:35.404726[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    45. <shutdown>-00025 10:33:35.404735[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    46. <shutdown>-00025 10:33:35.404741[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    47. <shutdown>-00025 10:33:35.405073[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    48. <shutdown>-00025 10:33:35.405091[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    49. .............................................................+++
    50. e is 65537(0x10001)
    51. .................+++
    52. e is 65537(0x10001)
    53. subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
    54. frk-00027-00027 10:33:36.485060[ forkit ] ERR Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
    55. frk-00027-00027 10:33:36.485366[ forkit ] ERR Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
    56. frk-00027-00027 10:33:36.485700[ forkit ] FTL Capability cap_sys_chroot is not setfor the loolforkit program.| kit/ForKit.cpp:168
    57. frk-00027-00027 10:33:36.485944[ forkit ] FTL Capability cap_mknod is not setfor the loolforkit program.| kit/ForKit.cpp:168
    58. frk-00027-00027 10:33:36.486160[ forkit ] FTL Capability cap_fowner is not setfor the loolforkit program.| kit/ForKit.cpp:168
    59. FATAL: Capabilities are not setfor the loolforkit program.
    60. If you are on SLES11, please set'file_caps=1'as kernel boot option.
    61. wsd-00025-00025 10:37:46.470347[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2623
    62. wsd-00025-00025 10:37:46.471022[ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2770
    63. wsd-00025-00025 10:37:46.471422[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    64. wsd-00025-00025 10:37:46.471465[ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
    65. <shutdown>-00025 10:37:46.471947[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    66. <shutdown>-00025 10:37:46.471964[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    67. <shutdown>-00025 10:37:46.471972[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    68. <shutdown>-00025 10:37:46.471980[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    69. <shutdown>-00025 10:37:46.471987[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    70. <shutdown>-00025 10:37:46.471994[ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
    71. <shutdown>-00025 10:37:46.472666[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    72. <shutdown>-00025 10:37:46.472688[ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
    73. ........+++
    74. ..................................................................................................................+++
    75. Generating RSA private key, 2048 bit long modulus
    76. ............................+++
    77. Signature ok
    78. subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
    79. frk-00027-00027 10:37:47.767191[ forkit ] ERR Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
    80. frk-00027-00027 10:37:47.767481[ forkit ] ERR Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
    81. frk-00027-00027 10:37:47.767780[ forkit ] FTL Capability cap_sys_chroot is not setfor the loolforkit program.| kit/ForKit.cpp:168
    82. frk-00027-00027 10:37:47.768066[ forkit ] FTL Capability cap_mknod is not setfor the loolforkit program.| kit/ForKit.cpp:168
    83. frk-00027-00027 10:37:47.768264[ forkit ] FTL Capability cap_fowner is not setfor the loolforkit program.| kit/ForKit.cpp:168
    84. FATAL: Capabilities are not setfor the loolforkit program.
    85. If you are on SLES11, please set'file_caps=1'as kernel boot option.

    Connecting via SSH is essential in today’s networks. Cisco devices are not automatically capable to use SSH. It has to be enabled and configured. SSH (Secure Shell) is a secure method to remote access network devices as it includes both authentication and encryption. To configure SSH you will need an IOS image that supports crypto features.

    Generate a private key: openssl genrsa -out private.key 2048 Extract the public key from the private key file: openssl rsa -in server.key -pubout public.key Now, use the following command to view the two large primes in the private key file: openssl rsa -noout -text -inform PEM -in private.key.

    This lab is a basic SSH configuration. I will be using a Ubuntu 18.04 image as a workstation to connect to the router.

    When configuring SSH on a Cisco router you will need to make sure the router has a host name. It will also need a domain name. An RSA key will need to be generated, user will need to be created on the Cisco router and finally after SSH is enabled you will need to configure the VTY lines to allow the connection to occur.

    Task 1:
    What key is my generation in computer. Configure the host name on the router.

    2048

    Task 2:
    https://priminclinex.tistory.com/3. Configure a domain name.

    Task 3:
    Generate a RSA key. I recommend 2048 or greater when configuring the modulus bits. Make sure you use SSH version 2.

    Task 4:
    Create a user with a password and an enable password. Make sure you use your own password and that you follow your companies security policies when creating a user account.

    Generating Rsa Private Key 1024 Bit Long Modulus

    Task 5:
    Now that SSH is enabled we need to configure the VTY lines to allow the SSH connection through.

    Task 6:
    Configure the ip address of the LAN connection of the router.

    Once the configuration is complete, now we need to test. I am using an Ubuntu 18.04 image. In this lab the most important part is to configure the device to be on the same network. In reality, SSH will work when connecting from an outside network so long as the device has a route to the network device and that it is not blocked from an ACL or Firewall.
    To configure a static IP address in Ubuntu 18.04, we will need to identify the physical named interface on the device. To find out the proper name type “ip addr“. Once identified in my case its ens3, Enter the following command to statically configure the IP address “sudo ip addr add 192.168.14.25/26 dev ens3“. To configure the gateway enter the following command “sudo ip route add default via 192.168.14.62“.

    Generating rsa private key 2048 bit long modulus 2

    Ping the gateway to confirm the device can ping the router.

    Generating Rsa Private Key 2048 Bit Long Modulus Vs

    Finally let’s test the SSH connection by typing “ssh admin@192.168.14.62“. Type in the user’s password when requested, and the enable password as well. Congratulations you have configured and connected to a router via SSH.





Designed by Tistory.