Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 40 guests and 2 members online
You are here:
Home
Resources
Tools
Need some help using PuTTy.
EH-Net
May 22, 2013, 11:21:53 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Resources
>
Tools
(Moderator:
don
) >
Need some help using PuTTy.
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Need some help using PuTTy. (Read 11413 times)
0 Members and 1 Guest are viewing this topic.
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Need some help using PuTTy.
«
on:
February 27, 2011, 07:32:14 AM »
I am trying to use PuTTy in Windows to connect to my Backtrack box that I got running in Oracle VM Virtual Box. However when I try to connect with the IP that is given to the box I get an error.
Quote
Network error: Connection reused.
Any ideas on what I should try to get it to work?
* started the SSH server in Backtrack, still same error.
«
Last Edit: February 27, 2011, 07:37:57 AM by H4TT1fn4TT
»
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
mesho
Newbie
Offline
Posts: 24
Re: Need some help using PuTTy.
«
Reply #1 on:
February 27, 2011, 09:15:03 AM »
firstly, did you try to ping your backtrack box?
if it's not pingable! then i think the issue with backtrack firewall try to disable it and it will fix your issue.
if neither methods work i think the issue with the network configuration in VMware.
Logged
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Re: Need some help using PuTTy.
«
Reply #2 on:
February 27, 2011, 10:19:17 AM »
As far as I am aware the firewall is disabled in Backtrack by default.
I will look into the other two thing.
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
Data_Raid
Full Member
Offline
Posts: 165
Re: Need some help using PuTTy.
«
Reply #3 on:
February 28, 2011, 04:12:20 AM »
I'll ask the obvious first, just to be sure
Have you generated your SSH keys with the " sshd-generate " command?
Can you successfully start SSHD " /etc/init.d/ssh start " ?
Can you confirm that SSHD is listening " netstat -antp | grep sshd " ?
Logged
All men by nature desire knowledge.
Aristotle
TheXero
Full Member
Offline
Posts: 112
Try Harder!
Re: Need some help using PuTTy.
«
Reply #4 on:
February 28, 2011, 05:51:30 AM »
Most likely that the SSH Daemon is not running
If it is, you're likely to have a networking issue
What network adapter type have you given it? Host only? Bridged etc
Logged
OSCP | OSWP
www.thexero.co.uk
hell_razor
Jr. Member
Offline
Posts: 90
Re: Need some help using PuTTy.
«
Reply #5 on:
February 28, 2011, 09:47:24 AM »
You need to generate ssh keys in BackTrack then restart the service.
service ssh stop
/usr/bin/sshd-generate
service ssh start
Logged
A+, Network+, Server+, CISSP, GSEC, GCIH, GPEN, GCIA, GISP, GCFW
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Re: Need some help using PuTTy.
«
Reply #6 on:
February 28, 2011, 10:17:02 AM »
I did create a certificate and started the SSH server (I should had mentioned that, sorry).
Quote from: TheXero on February 28, 2011, 05:51:30 AM
What network adapter type have you given it? Host only? Bridged etc
I am pretty new to it all and am trying to learn from scratch you could say. Sad to say knowing that, that I have no idea how to check up what you just asked. If there is a default I left it at that.
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
hell_razor
Jr. Member
Offline
Posts: 90
Re: Need some help using PuTTy.
«
Reply #7 on:
February 28, 2011, 10:39:21 AM »
Also, the network is not turned up when you start backtrack. Perhaps that is missing?
service network start
or
ifconfig eth0 && dhclient3 eth0
Logged
A+, Network+, Server+, CISSP, GSEC, GCIH, GPEN, GCIA, GISP, GCFW
chrisj
Hero Member
Offline
Posts: 1163
Re: Need some help using PuTTy.
«
Reply #8 on:
February 28, 2011, 11:03:52 AM »
Quote from: H4TT1fn4TT on February 28, 2011, 10:17:02 AM
I did create a certificate and started the SSH server (I should had mentioned that, sorry).
Quote from: TheXero on February 28, 2011, 05:51:30 AM
What network adapter type have you given it? Host only? Bridged etc
I am pretty new to it all and am trying to learn from scratch you could say. Sad to say knowing that, that I have no idea how to check up what you just asked. If there is a default I left it at that.
I think the default is to nat the box. What you need to do, is shut the backtrack box down. Go into the window where you would select and start it. You'll want to go to the settings > network tab, and change that to bridge, and then assign it to one of the ethernet cards you want to use (one of the actual ones on the windows box).
Might have some of the steps above wrong, going from memory without access to VirtualBox from where I am.
But you'll have to shut the BT box down to make the changes.
Options are NAT, Bridged, HOSTonly (or something like that). There may be a disabled option too... but as I said, I can't remember exactly and can't check.
The documents used to be pretty good at that back before it was Oracle's, I don't know how they are now.
Logged
OSWP, Sec+
H4TT1fn4TT
Jr. Member
Offline
Posts: 54
Re: Need some help using PuTTy.
«
Reply #9 on:
February 28, 2011, 11:21:19 AM »
Quote from: hell_razor on February 28, 2011, 10:39:21 AM
Also, the network is not turned up when you start backtrack. Perhaps that is missing?
No, but thanks for trying to help (/etc/init.d/networking start, was the one you where looking for).
Thanks Chrisj, I will look into it.
Logged
"The quality of programmers is a decreasing function of the density of go to statements in the programs they produce."
hell_razor
Jr. Member
Offline
Posts: 90
Re: Need some help using PuTTy.
«
Reply #10 on:
February 28, 2011, 12:18:31 PM »
Quote from: H4TT1fn4TT on February 28, 2011, 11:21:19 AM
Quote from: hell_razor on February 28, 2011, 10:39:21 AM
Also, the network is not turned up when you start backtrack. Perhaps that is missing?
No, but thanks for trying to help (/etc/init.d/networking start, was the one you where looking for).
Thanks Chrisj, I will look into it.
While I used network instead of networking as it should be:
service networking start is pretty much the same thing as /etc/init.d/networking start and that is definitely
not
the same thing as:
ifconfig eth0 up && dhclient3 eth0
which I prefer since I do not need wicd started nor an attempt to bring up the entire plethora of network interfaces possible with bringing up networking as a whole (easier than modifying the interfaces since I change interfaces a lot depending on what I am doing).
Logged
A+, Network+, Server+, CISSP, GSEC, GCIH, GPEN, GCIA, GISP, GCFW
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(27) by
don
Greetings
: Hi from the UK
(2) by
n37sh@rk
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.