Executing Cygwin command from FortressSSH


Author
Message
Swaminathan
Swaminathan
Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)Forum Member (36 reputation)
Group: Forum Members
Posts: 4, Visits: 15
We want the cygwin bash shell while getting connected using Fortress SSH. So we installed Cygwin 1.7 and Fortress SSH Server on the windows 2012 R2 server.
- Configured the Console Settings in the Local Server Configuration to get the Cygwin bash shell as per http://www.pragmasys.com/products/support/cygwin-config

When we pass the cygwin command ("uname -a") from ssh like the below, it is NOT taking the operand value (i.e -a) and it takes only "uname"

[root@pserv0028 ~]# ssh  1administrator@wrkbnch212-03 "uname -a"
1administrator@wrkbnch212-03's password:
CYGWIN_NT-6.3-WOW64

where as, if I ssh first and then entered the cygwin command then getting the correct output. see below...

[root@pserv0028 ~]#  ssh  1administrator@wrkbnch212-03
1administrator@wrkbnch212-03's password:
1Administrator@wrkbnch212-03 ~
$ uname -a
CYGWIN_NT-6.3-WOW64 wrkbnch212-03 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin

Any idea, why the operand value is not taken if I pass the command directly thru ssh?

Regards
Swami

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search