Russ Magee
b419b2e002
File copy remote close signal to ensure completed tar pipe data
2018-09-04 22:24:16 -07:00
Russ Magee
0586f306c0
Removed debug time.Sleep
2018-09-02 21:50:25 -07:00
Russ Magee
7295492aa3
hkexcp: fixed copy chunked payload logic (now 2*32-1 MAX_PAYLOAD_LEN w/chunking)
2018-09-02 19:58:13 -07:00
Russ Magee
c842d36319
README.md - added EXPERIMENTAL warning to hkexcp section
2018-09-01 10:44:13 -07:00
Russ Magee
52ea229118
Fixed errors in copy scatter/gather logic. Added block-chunking to hc.Write() to allow
...
writes of larger data blocks
TODO: copies of files > hc.Read() block size fails w/incomplete tarfile (last partial block
likely incorrectly written or client exits before data is flushed?)
2018-09-01 10:20:33 -07:00
Russ Magee
022db4956c
Update README.md: warning for -d displaying passwords to console/log
2018-08-31 15:01:16 -07:00
Russ Magee
45d270b03e
Merge branch 'hkexcp-proto'
2018-08-31 11:47:39 -07:00
Russ Magee
c1a23b68ae
Merge branch 'master' of ssh://tripe.blitter.com/var/git/hkexsh
2018-08-31 11:47:27 -07:00
Russtopia
a4b7707888
Update 'README.md' - hkexcp (file/dir copy) instructions
...
Removed references to the '-u' and '-s' options, now uses user@host-or-ip[:path] syntax.
2018-08-31 11:40:57 -07:00
Russ Magee
c3572d7c0c
Fixed abs/relative path for client dest copies
2018-08-30 20:16:55 -07:00
Russ Magee
143990da34
Scatter/gather for client->server copy now functional
2018-08-30 20:06:42 -07:00
Russ Magee
6389ad49d5
Improved flag.Usage() for cp/sh and removed more recursiveCopy flag remnants
2018-08-26 00:12:42 -07:00
Russ Magee
9025ee3c24
Cleaned up flag help txts; removed unused doCopyMode() recurs arg
2018-08-25 23:51:11 -07:00
Russ Magee
1986ec6f0c
Removed :port: from 'fancy' arg syntax; more improvements to src/dest file spec logic (esp. fixing bug in multiple src file/dir args to remote dest)
2018-08-25 23:38:58 -07:00
Russ Magee
ca2b6efd9b
client->server and server->client file/dir copies minimally working
2018-08-24 23:22:07 -07:00
Russ Magee
7867f84b87
WIP: server->client copy primitively functional; TODO client->server copy
2018-08-24 18:50:45 -07:00
Russ Magee
0b9b8b8320
WIP tarpipe construction: server-side, TODOL client-side, -r behaviour
2018-08-23 11:03:19 -07:00
Russ Magee
5859131678
Continuing groundwork for cp mode - refactor main client code into shell/copy subroutines; -r option
2018-08-06 22:29:51 -07:00
Russ Magee
c3f3bcb13f
Added cp.cmd file - notes on using tar to bundle/xmit/extract over link
2018-08-06 13:36:29 -07:00
Russ Magee
04e8b94b5d
More misc. fixes to connection handling w/chaff e=0/1 client-side, both interactive and oneshot cmd (-x)
2018-08-06 00:06:09 -07:00
Russ Magee
00e03c1d54
Misc. fixes to end-of-session conn handling. Outstanding bug w/client chaff enabled & truncated client data
2018-08-05 21:43:21 -07:00
Russ Magee
5920e06748
Merge branch 'hkexcp-proto' of ssh://tripe.blitter.com/var/git/hkexsh into hkexcp-proto
2018-07-29 19:59:05 -07:00
Russ Magee
c6bfa2771b
Simplified hostPortPath parsing (colons mandatory if specifying more than just host)
2018-07-29 13:22:35 -07:00
Russ Magee
55cf5a9277
Improved 'fancy arg' parsing - gathering up otherArgs (non-flag) as path src list
2018-07-29 12:47:44 -07:00
Russ Magee
5eb7d4d1e6
Initial (buggy) support for 'fancy arg' style ala ssh: eg user@example.org:port:path
2018-07-29 00:48:42 -07:00
Russ Magee
e3e38fb6fa
Merge branch 'master' into hkexcp-proto
2018-07-19 22:40:40 -07:00
Russ Magee
5ae6c8075b
Grouped types
2018-07-19 22:39:06 -07:00
Russ Magee
f48b0c17ed
Prep for hkexsh alternate op mode via symlink/exe name: hkexcp - a secure remote file copier
2018-07-18 22:32:49 -07:00
Russ Magee
f9fba3227b
README.md line wraps
2018-07-14 13:54:44 -07:00
Russ Magee
0d404470c1
Make hkexshd log IP not hostname to wtmp/lastlog
2018-07-14 13:15:58 -07:00
Russ Magee
f079b5b43d
Fixed server root warning to output without -d flag to stdout
2018-07-13 20:26:48 -07:00
Russ Magee
a8a4f1671a
Added -h handling to mintty_wrapper (MSYS/Win client)
2018-07-06 13:29:34 -07:00
Russ Magee
a3367fc6ae
Fixes for MSYS Windows build (client)
2018-07-06 13:25:28 -07:00
Russ Magee
94e06abbcb
Updates to main Makefile (and added spinsult Makefile)
2018-07-04 23:07:09 -07:00
Russ Magee
9edcc5110c
Fixed syntax errors from re-org
2018-07-04 22:06:07 -07:00
Russ Magee
bd261a32e9
reorg to separate core KEx and net layer from app
2018-07-04 21:21:23 -07:00
Russtopia
9291fdcff6
Update TODO.txt (typos)
2018-06-29 20:29:07 -07:00
Russ Magee
a74ae41e3b
Added TODO.txt
2018-06-29 20:30:33 -07:00
Russtopia
ddc85a64f3
Merge branch 'exitstatus' of Russtopia/hkexsh into master
2018-06-29 19:42:00 -07:00
Russ Magee
216bfa3326
Exit status of remote commands now reflect in client exit
2018-06-29 19:23:11 -07:00
Russ Magee
c64797f2d9
Basic server-side recording of exitStatus of pty(cmd).
...
TODO: sending of exitStatus to client and client handling of said packet via
a WritePacket() with unique existStatus op.
2018-06-29 16:54:20 -07:00
Russtopia
aa48314ee9
Merge branch 'issue3-hkexshd-insufficient-privileges' of Russtopia/hkexsh into master
2018-06-27 19:30:05 -07:00
Russ Magee
011f6d161b
#3 : hkexshd: server should output error on startup if not run w/sufficient privileges
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-06-27 19:28:03 -07:00
Russ Magee
dac467c1e6
Corrected Println -> Printf logs for login/cmd tracking
2018-06-27 19:13:14 -07:00
Russ Magee
889203c9de
host lookup for goutmp (wtmp) tracking
2018-06-27 19:09:35 -07:00
Russ Magee
11fad87345
Pass remote host lookup to goutmp
2018-06-27 17:32:26 -07:00
Russtopia
2e9f3d7726
Updated README.md
2018-06-27 15:40:48 -07:00
Russ Magee
f5a146255f
Renamed go_login pkg to goutmp
2018-06-27 14:58:57 -07:00
Russ Magee
22da88af7d
Attempts to handle disconnects better.. TODO: torture tests and implement exit status for -x commands
2018-06-26 20:14:43 -07:00
Russ Magee
4b997a4d0c
Merge branch 'master' into logfile-housekeeping
2018-06-24 22:05:57 -07:00