JuiceSSH odd behavior

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 84

PostPosted: Thu Jan 26, 2023 2:20    Post subject: JuiceSSH odd behavior Reply with quote
Any JuiceSSH user noticed an extra lf/cr/? character occurring after just touching or switching the screen? The resulting extra character creates problems with anything pending on the command line or within vi and who knows what else.

It started happening a couple months ago. JuiceSSH hasn't changed since 2021. Only ddwrt.

No problems with a local ssh to my phone.

Seems like a simple problem but I'm out of ideas

Update: same on 2 more phones

_________________
Current: Netgear R9000 DD-WRT v3.0-r55460 std (03/25/24)
Retired: Linksys WRT32X r39296, TP-Link Archer C7 v2, LinkSys WRT54G v5
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6435
Location: UK, London, just across the river..

PostPosted: Thu Jan 26, 2023 8:12    Post subject: Reply with quote
a few weeks ago...dropbear was updated and hardened in order to use new cyphers...so, delete old profiles and key and add new key from scratch on your ssh app..dropbear supports ed25519 keys now Razz
_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55779 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1928

PostPosted: Thu Jan 26, 2023 20:02    Post subject: Reply with quote
The problem has nothing to do with the key changes (there would be no access to discover this issue). Probably a bug in JuiceSSH? Hope it's not related to other fixes DD-WRT side for other complaints in the past. It would help if you gave us screenshot(s).
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 84

PostPosted: Thu Jan 26, 2023 20:44    Post subject: Reply with quote
Any JuiceSSH users? Maybe it wasn't obvious, but the problem occurs after login. Pics may help

The attached pics shows that touching the screen or switching focus/pgm causes the ssh session to get 1+ spurious character(s) that erased, aborted, or interfered with the ssh session.

Frustrating. This is a new problem in JuiceSSH and it doesn't occur with uBuntu or Cygwin64.

Note: JuiceSSH was last updated in 2021

_________________
Current: Netgear R9000 DD-WRT v3.0-r55460 std (03/25/24)
Retired: Linksys WRT32X r39296, TP-Link Archer C7 v2, LinkSys WRT54G v5
Zyxx
DD-WRT Guru


Joined: 28 Dec 2018
Posts: 737

PostPosted: Thu Jan 26, 2023 21:53    Post subject: Reply with quote
Yep, tested it with all my devices.

Same here, JuiceSSH shows up to three additional lf/cr.
This is new behaviour. Last time I used JuiceSSH was end of last year, back then it worked without adding lines on login.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14208
Location: Texas, USA

PostPosted: Thu Jan 26, 2023 22:16    Post subject: Reply with quote
My suggestion is to check your settings and possibly send a debug log upstream:

https://juicessh.com/faq/how-can-i-generate-a-debug-log

Only other suggestion is to see if maybe it is an upstream dropbear or busybox issue.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 84

PostPosted: Fri Jan 27, 2023 0:58    Post subject: Reply with quote
JuiceSSH log. (Activity: login, switched pgm, typed exit, log)
Code:

JuiceSSH Version: 3.2.2 (200)
Device Manufacturer: OnePlus
Device Model: GM1917
Device Board: msmnile
Device Bootloader: unknown
Android Version: REL 9 (sdk:28)
CPU ABI: arm64-v8a
CPU ABI2:
Account: mesmurized@gmail.com
Account Hash: b061fdc36d3ae4dd1b27a5f6f7d76e
1/26/23 4:52 PM: Scheduling CloudSync to run every 86400 seconds
1/26/23 4:52 PM: Scheduling EC2Link to run every 86400 seconds
1/26/23 4:52 PM: CloudSync requested but not enabled - ignoring
1/26/23 4:52 PM: Couldn't find any profiles. Exiting.
1/26/23 4:52 PM: Destroying Ec2Link Service
1/26/23 4:52 PM: Got a URL: ssh://015775f4-9255-42e4-bd6d-1ece3836ec27
1/26/23 4:52 PM: Building TransportChain[2000] with 1 connections chained
1/26/23 4:52 PM: Building chain member 0
1/26/23 4:52 PM: Connecting SSH Session
1/26/23 4:52 PM: ssh_connect: libssh 0.9.3 (c) 2003-2019 Aris Adamantiadis, Andreas Schneider and libssh contributors. Distributed under the LGPL, please refer to COPYING file for information about your rights, using threading threads_pthread
1/26/23 4:52 PM: ssh_socket_connect: Nonblocking connection socket: 91
1/26/23 4:52 PM: ssh_connect: Socket connecting, now waiting for the callbacks to work
1/26/23 4:52 PM: socket_callback_connected: Socket connection callback: 1 (0)
1/26/23 4:52 PM: ssh_client_connection_callback: SSH server banner: SSH-2.0-dropbear_2022.83
1/26/23 4:52 PM: ssh_analyze_banner: Analyzing banner: SSH-2.0-dropbear_2022.83
1/26/23 4:52 PM: ssh_known_hosts_read_entries: Failed to open the known_hosts file '/data/.ssh/known_hosts': No such file or directory
1/26/23 4:52 PM: ssh_known_hosts_read_entries: Failed to open the known_hosts file '/etc/ssh/ssh_known_hosts': No such file or directory
1/26/23 4:52 PM: ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,aes256-ctr,aes256-ctr,hmac-sha2-256,hmac-sha2-256,none,none,,
1/26/23 4:52 PM: ssh_init_rekey_state: Set rekey after 4294967296 blocks
1/26/23 4:52 PM: ssh_init_rekey_state: Set rekey after 4294967296 blocks
1/26/23 4:52 PM: ssh_packet_client_curve25519_reply: SSH_MSG_NEWKEYS sent
1/26/23 4:52 PM: ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
1/26/23 4:52 PM: ssh_packet_newkeys: Signature verified and valid
1/26/23 4:52 PM: connect: Connected successfully to 192.168.1.1
1/26/23 4:52 PM: connect: Got host key SHA256:HUpk62qz0wW3jOXuxu2nqsCG1gRuKGc3sL6cCgPngrY
1/26/23 4:52 PM: ssh_packet_userauth_failure: Access denied for 'none'. Authentication that can continue: publickey,password
1/26/23 4:52 PM: ssh_packet_userauth_failure: Access denied for 'none'. Authentication that can continue: publickey,password
1/26/23 4:52 PM: Received SSH_AUTH_PARTIAL for private key authentication
1/26/23 4:52 PM: Received SSH_AUTH_SUCCESS for password authentication
1/26/23 4:52 PM: channel_open: Creating a channel 43 with 64000 window and 32768 max packet
1/26/23 4:52 PM: ssh_packet_channel_open_conf: Received a CHANNEL_OPEN_CONFIRMATION for channel 43:0
1/26/23 4:52 PM: ssh_packet_channel_open_conf: Remote window : 24576, maxpacket : 32759
1/26/23 4:52 PM: channel_request: Channel request pty-req success
1/26/23 4:52 PM: channel_request: Channel request shell success
1/26/23 4:52 PM: ServiceRequest: Registering a new transport chain
1/26/23 4:52 PM: Starting the connection manager service
1/26/23 4:52 PM: Creating ConnectionManager Service
1/26/23 4:52 PM: Received start command
1/26/23 4:52 PM: Performing encryption of: com.sonelli.juicessh.models.ConnectionCounter / 6553c69c-9d2e-4b61-925e-0573769cf36b
1/26/23 4:52 PM: Creating Terminal Session
1/26/23 4:52 PM: Setting backspace mode to default (^?)
1/26/23 4:52 PM: Setting font to embedded monospace font
1/26/23 4:52 PM: Could not load font:
1/26/23 4:52 PM: Transport chain 2000 is now attached
1/26/23 4:52 PM: Setting font to embedded monospace font
1/26/23 4:52 PM: Could not load font:
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(45)45 for a 1080x1909px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Bound to ConnectionManager service and processing recent ServiceRequests
1/26/23 4:52 PM: Bound to ConnectionManager to process pending requests
1/26/23 4:52 PM: Processing 1 REGISTERS.
1/26/23 4:52 PM: Using transport chain 2000 to prevent ConnectionManager from being killed
1/26/23 4:52 PM: Processing 0 DROPS.
1/26/23 4:52 PM: Processing 0 GETS.
1/26/23 4:52 PM: Processing 0 QUERIES.
1/26/23 4:52 PM: Unbinding from ConnectionManager
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(25)25 for a 1080x1082px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Acquiring a wakelock for ConnectionManagerService
1/26/23 4:52 PM: Acquiring a wifilock for ConnectionManagerService
1/26/23 4:52 PM: Transport chain 2000 is now unattached
1/26/23 4:52 PM: Transport chain 2000 is now attached
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(25)25 for a 1080x1082px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Setting font to embedded monospace font
1/26/23 4:52 PM: Could not load font:
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(25)25 for a 1080x1082px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(45)45 for a 1080x1909px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Resizing terminal to COLUMNS:(51)51 LINES:(25)25 for a 1080x1082px terminal size @ font size 14 with 21.0x42.0px characters
1/26/23 4:52 PM: Transport chain 2000 is now unattached
1/26/23 4:52 PM: Destroying ConnectionManager Service
1/26/23 4:52 PM: Releasing wakelock for ConnectionManagerService
1/26/23 4:52 PM: Releasing wifilock for ConnectionManagerService
1/26/23 4:52 PM: Shutting down ConnectionManagerService poller

_________________
Current: Netgear R9000 DD-WRT v3.0-r55460 std (03/25/24)
Retired: Linksys WRT32X r39296, TP-Link Archer C7 v2, LinkSys WRT54G v5
MesMurized
DD-WRT User


Joined: 08 Aug 2017
Posts: 84

PostPosted: Fri Jan 27, 2023 3:24    Post subject: Reply with quote
Zyxx wrote:
Yep, tested it with all my devices.

Same here, JuiceSSH shows up to three additional lf/cr.
This is new behaviour. Last time I used JuiceSSH was end of last year, back then it worked without adding lines on login.
I don't think it's a lf/cr as nothing appears in history. It's even more crazy in vi.

Wish I had a packet analyzer.

_________________
Current: Netgear R9000 DD-WRT v3.0-r55460 std (03/25/24)
Retired: Linksys WRT32X r39296, TP-Link Archer C7 v2, LinkSys WRT54G v5
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum