LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2012, 07:57 AM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
What is the current way to shell in/out between Windows XP and Linux?


It has been quite some time since I used Cygwin based SSH to shell between Windows and Linux. I tried Openssh (which apparently is developed by a
different person now) but I can't shell into it from Linux no matter what I do. I did much searching and posted thread on these forums to no avail
so now I'm thinking I've been out of the loop regarding this subject too long. So if you don't mind what is the way to go to shell back and forth
between Windows (in this case XP Pro) and Linux (Fedora 16)? Is Cygwin still a viable choice? Can I use SSH with Cygwin like I did at one time.
Please bear in mind this is not a matter of life and death, I am simply trying to keep abreast of things and keep my somewhat limited knowledge of
Windows from getting lost in 57 year old cobwebs. I like to help other computer users in my area and I want to brush up on these things. I might
want to shell into a user's Windows machine for some troubleshooting or to upload files for them or whatever. Thank you ahead of time.
 
Old 11-01-2012, 08:54 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by SharpyWarpy View Post
I tried Openssh (which apparently is developed by a different person now)
Huh? I think you mean OpenSSH for Windows and not OpenSSH-portable as developed by OpenBSD, right?


Quote:
Originally Posted by SharpyWarpy View Post
but I can't shell into it from Linux no matter what I do.
Since you aren't telling us specifics like what package you used, how its configured, what account you use and what the log says there's not much to go on.


Quote:
Originally Posted by SharpyWarpy View Post
So if you don't mind what is the way to go to shell back and forth between Windows (..) and Linux (..)?
Can't find the URI now but there's a Cygwin-based OpenSSH package for Windows that works quite well and even has a GUI for configuring accounts, read logs etc, etc. The most obvious problems are being able to connect, do that in a more or less secure way and being able to do so without expecting too much work / help from your "hapless victims" ;-p Besides SSH you've got protocols / applications like RDP, VNC and Team Viewer to choose from.
 
Old 11-01-2012, 09:16 AM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 91
I was not aware of an Openssh developed by BSD. The program I used was Openssh for Windows. Here's the URL home page at Sourceforge:
http://sourceforge.net/projects/sshw...20-%20Release/
When I installed it a key was automatically generated. I followed the instructions for configuration that came with the program. I could shell into Linux from Windows but not into Windows from Linux, despite all attempts of configuration. I kept getting authentication failures no matter what I did. I thought about making a new password but said program did not come with that capability!
I prefer using SSH, not virtual networking stuff because I use a dial up internet connection. Using something like VNC would be so slow or nearly impossible. I don't need or want a GUI anyway.
In the interum I have found the page for Cygwin and have downloaded the setup program for that, I started it and some things there refreshed my memory. Nice to see it is still being developed. I'll have to wait until tonight to finish the setup because my dial up will take a long time even for the minimal packages I want to install. For what it's worth to some members here's the URL:
http://cygwin.com/install.html
Thank you for your reply, unspawn.
 
Old 11-01-2012, 10:08 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by SharpyWarpy View Post
I was not aware of an Openssh developed by BSD.
Minor nit but it's not some trivial or inconsequential "an" but the OpenSSH: see www.openssh.org.


Quote:
Originally Posted by SharpyWarpy View Post
The program I used was Openssh for Windows.
That's the most "popular" version I suppose but it's an old version (3.8p1-1). CopSSH offers version 5.6, comes with Cygwin obviously and a collection of tools.

As for solving auth trouble I hope you understand the reasons for preferring cold hard evidence like configuration files (as in 'grep -v ^# file|grep .;'), relevant log excerpts and diagnostic output over an account of things.
 
Old 11-01-2012, 06:27 PM   #5
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 91
Yes Openssh is old that's why I referred to the Openssh I used as "an Openssh", the developer for which fairly recently picked up the gauntlet from the old Openssh. I suppose he's a bug or two to work out with that. As I said I was not able to make a user password with the mkpasswd.exe program provided with said program. So I'm rolling tonight with your reference to Cygwin not only for it's Copssh but for the other features it provides. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call a script in a new shell from the current shell Bone11409 Linux - Newbie 2 05-04-2010 04:11 AM
[SOLVED] How can I run a command on another shell without changing the current shell? quanba Other *NIX 3 04-05-2010 12:19 PM
LXer: Linux Gnome Hack: Open Terminal (shell prompt) in Current / Selected Directory LXer Syndicated Linux News 0 11-06-2008 08:20 AM
$SHELL does not reflect current shell student04 Solaris / OpenSolaris 4 06-10-2008 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration