加入SSH的相关组件
/* Security /
#define INCLUDE_IPCRYPTO
#define INCLUDE_IPSSL / SSL */
#define INCLUDE_IP_SECURITY /* IPSec /
#define INCLUDE_INTERNET_KEY_EXCHANGE / IKE /
#define INCLUDE_SSH / SSH /
#define INCLUDE_IPCOM_AUTH_1
#define INCLUDE_IPCRYPTO_USE_KEY_DB_EXAMPLE_KEYS
#define INCLUDE_IPCOM_USE_KEY_DB
#define INCLUDE_PTYDRV / pseudo terminal driver */
SSH的算法配置等
/*
- Public key operations during the handshake are CPU intensive. It is a good
- idea to run these tasks at a lower priority. Possible values are 1-7.
*/
#ifndef SSH_SPAWN_TASK_PRIORITY
#define SSH_SPAWN_TASK_PRIORITY 2
#endif
/* Enables the use of the AES cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_AES
#define SSH_USE_AES “1”
#endif
/* Enables the use of the DES cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_DES
#define SSH_USE_DES “1”
#endif
/* Enables the use of the 3DES cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_3DES
#define SSH_USE_3DES “1”
#endif
/* Enables the use of the Blowfish cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_BLOWFISH
#define SSH_USE_BLOWFISH “1”
#endif
/* Enables the use of the CAST cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_CAST
#define SSH_USE_CAST “1”
#endif
/* Enables the use of the RC4 cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_ARCFOUR
#define SSH_USE_ARCFOUR “0”
#endif
/* Enables the use of no cipher. 1 means on, 0 means off. */
#ifndef SSH_USE_NO_CIPHER
#define SSH_USE_NO_CIPHER “0”
#endif
/* Enables the use of SHA1 for authentication. 1 means on, 0 means off. */
#ifndef SSH_USE_SHA1
#define SSH_USE_SHA1 “1”
#endif
/* Enables the use of SHA1-96 for authentication. 1 means on, 0 means off. */
#ifndef SSH_USE_SHA1_96
#define SSH_USE_SHA1_96 “1”
#endif
/* Enables the use of MD5 for authentication. 1 means on, 0 means off. */
#ifndef SSH_USE_MD5
#define SSH_USE_MD5 “1”
#endif
/* Enables the use of MD5-96 for authentication. 1 means on, 0 means off. */
#ifndef SSH_USE_MD5_96
#define SSH_USE_MD5_96 “1”
#endif
/* Enables the use of no authentication. 1 means on, 0 means off. */
#ifndef SSH_USE_NO_MAC
#define SSH_USE_NO_MAC “0”
#endif
/* Enables SSH v1. 1 means on, 0 means off. */
#ifndef SSH_USE_V1
#define SSH_USE_V1 “0”
#endif
/* Enables SSH v2. 1 means on, 0 means off. */
#ifndef SSH_USE_V2
#define SSH_USE_V2 “1”
#endif
/* Enables SSH Terminal Service. 1 means on, 0 means off. */
#ifndef SSH_USE_TERMINAL
#define SSH_USE_TERMINAL “1”
#endif
/* Enables SSH SFTP Service. 1 means on, 0 means off. */
#ifndef SSH_USE_SFTP
#define SSH_USE_SFTP “1”
#endif
/* Enables SSH Port Forwarding. 1 means on, 0 means off. */
#ifndef SSH_USE_PORT_FWD
#define SSH_USE_PORT_FWD “0”
#endif
/* Name of DSA Key File stored at IPCOM_FILE_ROOT */
#ifndef SSH_DSA_KEY
#define SSH_DSA_KEY “dsa_key.pem”
#endif
/* Name of RSA Key File stored at IPCOM_FILE_ROOT */
#ifndef SSH_RSA_KEY
#define SSH_RSA_KEY “rsa_key.pem”
#endif
其他运行效果没有截图了,有寻求帮助的朋友可以私信我