View Single Post
Old 07-09-2018, 01:19 PM   #13
cprog
Junior Member
cprog began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2018
Device: PocketBook InkPad 3
No problem with utelnetd

Code:
bash-4.1$ SSHDIR=/mnt/ext1/applications/pb_sshd
bash-4.1$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 94:99:01:03:4B:17  
          inet addr:192.168.6.130  Bcast:192.168.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:678 errors:0 dropped:9 overruns:0 frame:0
          TX packets:445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:62037 (60.5 KiB)  TX bytes:47940 (46.8 KiB)

bash-4.1$ echo $?
0
bash-4.1$ touch /tmp/sshd-connected-to-wifi
bash-4.1$ /ebrmain/bin/netagent connect
[2285:09/07/18 20:08:49] netagent called with parameters < connect >
bash-4.1$ export PATH="$SSHDIR"/usr/bin:"$SSHDIR"/usr/sbin:$PATH
<_PATH=/mnt/ext1/applications/pb_sshd:$LD_LIBRARY_PATH                       
bash-4.1$ cd $SSHDIR
bash-4.1$ 
bash-4.1$ ./server-keygen.sh
bash-4.1$ "$SSHDIR"/usr/sbin/sshd \
>   -f "$SSHDIR"/etc/ssh/sshd_config \
>   -h "$SSHDIR"/etc/ssh/ssh_host_key \
>   -h "$SSHDIR"/etc/ssh/ssh_host_dsa_key \
>   -h "$SSHDIR"/etc/ssh/ssh_host_ecdsa_key \
>   -h "$SSHDIR"/etc/ssh/ssh_host_rsa_key \
>   -d -e
bash-4.1$
I was alreday connected because I can use utelnetd
Every command run ok.

By the way I don't need ssh security.
If I can transfer files between pocket and PC with utelnetd
or with some kind of sample plain ftp server I'm ok. I will give up from ssh.
cprog is offline   Reply With Quote