Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-08-2010, 04:25 AM   #1
LQ Newbie
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Unexpected output from my program

hello every body,
This is Hida. while doing socket/network programming, i am getting SSH-2.0-openssh4.7 error, instead of showing day time of server.
general description i have Linux Box, with the help of putty i am connecting from windows system to Linux box,no problem in loging,
after typing program, i am running the program with gcc. when typing ./a.out, it is showing SSH-2.0-openssh4.7, actually it should display daytime from linux box in both tcp and udp.
Old 09-08-2010, 04:53 AM   #2
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
First off your title is very bad and you need to be more descriptive about it. Like say a little about what you need help for in your title. People here look down on titles like yours.

I just started doing a little programing my self too but I don't think anybody is going to be able to help you with out posting your source in with "[code]" tags. Make sure you chmod your file to something like 755 for execution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] syslinux unexpected console output lryoung Linux - Kernel 1 07-24-2010 03:55 AM
[SOLVED] Unexpected output from stat --format %h catkin Linux - Software 2 03-07-2010 03:00 AM
Unexpected output from grep zer0x333 Linux - General 12 12-04-2007 10:42 AM
C: malloc arrays- unexpected output kpachopoulos Programming 3 03-24-2006 09:30 PM
Unexpected output from 'ls' when using glob expressions psiakr3w Linux - General 7 07-22-2004 03:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 AM.

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