Ruslanas Gžibovskis

Bio

 

Flattr this!

Sveiki,

norėdami įdiegti Solaris 10u9 mdb programėlę susidiekime SUNWmdb ir SUNWmdbr paketus. Visų pirma prijunkime CD.ISO, kas gali būti atlikta tik iš globalios zonos (Jei nenaudojate konteinerių, tai galėjote pabraukto teksto ir neskaityti :) ):
lofiadm -a /tmp/software.iso /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 /mnt

Pereikim į mum reikiamą aplanką
cd /mnt/Solaris_10/Product
Susimeskim visą tai:
pkgadd -d . SUNWmdb
pkgadd -d . SUNWmdbr

Toliau beliko arba prisijungti (ir sustabdyti) procesą: mdb -p ĖPID arba atidaryti core/dump failą: mdb core_dump
Na va o daba mdb komandos:

Control Commands
$< or $<< Replace input with a macro or source a macro.
$>filename or
::log filename
Log session to a file. If no filename, use default.
| Pipe. Allows simple commands to be joined.
! Shell escape. Acts as a pipe to a shell command. (Not available in kmdb.)
// Comment. Following words on the same line are ignored.
$M Show built-in macros (Kernel debugger only).
$Pstring Set prompt to string.
$Q
::quit
Quit. (From kmdb, use -u option to avoid exiting to ok> prompt.)
$W Re-open target in writable mode.
$p Change target context.
$w Control output page width.
:A Attach to a process or core file.
:R Release attachment.
:k Kill and release targets.
$v Print non-zero variables.
>
::typeset
Assign a variable.
::dcmds Print available commands.
::nm Print symbol table. (-P specifies a private symbol table. Manipulated with ::nmaddand ::nmdelete
::help dcmd Provide usage notes on a dcmd.
::typeset Manipulate variable.
::walk Walk data structure.
::walkers List available walkers.

 

 

Input & Output Commands
$< 
$<<
Replace input with a macro or source a macro.
$>filename Log session to a file. If no filename, use default.
address/format-spec
/format-spec
Read the value in a memory addressformatted as format-spec. If no address is provided, use dot.
address/W value Write the value in the four bytes starting with address. If no address is provided, usedotvw or Z may also be used instead of Wto write 1, 2 or 8 bytes, respectively.
address=format-spec
=format-spec
Format immediate value of address or dot.
? Read/write primary object file.
@format-spec Read/write physical address as format-spec.
\format-spec Read/write physical address as format-spec.

The difference between / and = is subtle. For example, to find the address holding the value of the maxphys symbol in decimal, we would run:
maxphys=D
To find the value inside the above address, we would use / like:
maxphys/D

 

 

Format Specification
Note that the ::formats dcmd prints out a full list of supported formats.
D Display in signed decimal.
i Display as a disassembled instruction.
U Display in unsigned decimal.
X Display in signed hexidecimal.
0txyz Specifies xyz as a decimal value.

 

 

System Examination
cpu$<cpus Display cpu0.
cpun$<cpu Display cpu #n.
$<msgbuf Display message buffer, including all console messages up to panic.
<sp$<stacktrace Use the stack pointer address (sp) to display a detailed stack trace.
$r
::regs
Display general registers, including program counter and stack pointer.
::callout Print callout table.
::cpuinfo -v Information about activities of CPUs, including runqueue inhabitants.
::cpuregs
::cpuregs -c cpuid
Print CPU registers. kmdb only. Can specify a cpu.
::cpustack
::cpustack -ccpuid
Print CPU stack. kmdb only. Can specify a cpu.
::dnlc Print DNLC contents.
::ipcs Print SVR4 IPC information.
::kmalog Display kernel memory log and stack traces.
::kmastat Print current kernel memory allocations
::memstat Print current memory usage.
::nm Print symbol table. (-P specifies a private symbol table. Manipulated with ::nmaddand ::nmdelete
::ps List processes with associated threads and lwps
::ptree Print process tree.

 

 

Target Examination
$? Print status and registers.
$C Show call trace and arguments, saved frame pointer and saved program counter for each stack frame.
$X$Y$x$y and::fpregs Display floating point registers.
$c Display stack backtrace.
$e Print list of global symbols.
$f Print list of source files.
$l Print representative thread’s lwp ID.
$m Print address space mappings.
$r
::regs
Display general registers, including program counter and stack pointer.
as::as2proc Convert as pointer to a proc_t pointer.
::devbindings devinfo nodes bound to device-name ormajor-num.
::devinfo Detailed devinfo of node.
::devinfo2driver Driver name for this node.
::devnames Print devnames array.
::devt Display dev_t‘s major & minor numbers.
::did2thread Kernel thread for this ID.
::dumpaddress Dump memory from address.
::findfalse Find potentially falsely shared structures.
::findleaks Search for potential kernel memory leaks.
::findlocks Find locks held by specified thread.
threadp::findstack Find kernel thread stack for associated thread.
::inode Display summary of inode_t.
::kmsqid Display message queue structure (kmsqid).
::ksemid Display a semaphore structure (ksemid).
::kshmid Display a shared memory structure (kshmid).
::pgrep pattern Find proc_t pointers matching the pattern.
0tPID::pid2proc Convert decimal PID to a proc_t pointer.
procp::ps Process information matching the associated proc_t.
::status Print summary of target status.
sobj::walk blocked Walk threads blocked on a particular synchronization object (sobj).
procp::walk thread Walk threads of associated process.
sobj::wchaninfo -v Blocked on condition variables for a particular synchronization object (sobj).
address::whatis Attempts to identify address contents.
vnode::whereopen Processes with vnode open.

 

 

Tracing, Watchpoints and Breakpoints
(Breakpoints for kernel debugger only.)
$b Show all breakpoints.
$i Print list of ignored signals.
:a Set a watchpoint.
:b Set a breakpoint.
:c or ::cont Continue target execution.
:d Delete a breakpoint.
:e Step over next instruction.
:i Step over next instruction.
:k Kill and release targets.
:p Set execute access watchpoints.
:r Run new target process.
:s Step target to next instruction.
:t Stop on delivery of specified signals.
:u Step out of current function.
:w Set write access watchpoint.
:z Delete all breakpoints.

 

 

General Debugging
$G Toggle C++ demangling.
$V Toggle disassembly mode.
$g Toggle C++ demangling.
address::dis Disassemble text starting at address.

 

 

Comparison Operators
== Logical equality.
!= Logical inequality.
& Bitwise AND.
| Bitwise OR.
^ Bitwise XOR.
 

Flattr this!

Sveiki, turiu darbo, taiatsiranda laiko parašyt skriptukus, nusprendžiau vienu jų pasidalinti.

Pasirašiau 88×31 uptime baneriuką: .

$uptime=shell_exec ("cat /proc/uptime | awk '{print $1}'");
function getTime ($unix_laikas) {
if ($unix_laikas<60) {
$returnas=intval($unix_laikas);
if ($returnas<10) {$returnas="0".$returnas;} return $returnas."!";
} elseif (60<=$unix_laikas && $unix_laikas<3600) {
$returnas=intval($unix_laikas/60);
if ($returnas<10) {$returnas="0".$returnas;} return $returnas;
} elseif (3600<=$unix_laikas && $unix_laikas < 86400) {
$returnas=intval($unix_laikas/3600);
if ($returnas<10) {$returnas="0".$returnas;} return $returnas;
} else {
return intval($unix_laikas/86400);
}
}

function uptime ($s0, $s1, $s2) {
$iwidth=88; $iheight=31;
// create a true colour, transparent image
// turn blending OFF and draw a background rectangle in our transparent colour
$image=imagecreatetruecolor($iwidth,$iheight);
imagealphablending($image,false);
$col=imagecolorallocatealpha($image,255,255,255,127);
imagefilledrectangle($image,0,0,$iwidth,$iheight,$col);
imagealphablending($image,true);
// Alpha blanding is back on.
// insert image manipulation stuff in here
$font=3;
$red=imagecolorallocatealpha($image,0,0,0,0);
imagestring($image, $font, 1, 0, $s0, $red);
imagestring($image, $font, 1, 9, $s1, $red);
imagestring($image, $font, 1, 20, $s2, $red);
// output the results...
header("Content-Type: image/png;");
imagealphablending($image,false);
imagesavealpha($image,true);
imagepng($image);
}
if ($uptime<60) { // Sekundes
$s1="up 0 days";
$s2="00:00:".getTime($uptime);
} elseif (60<=$uptime && $uptime<3600) { // Minutes
$tmp=getTime($uptime);
$s1="up 0 days";
$s2="00:".$tmp.":".getTime($uptime-($tmp*60));
} elseif (3600<=$uptime && $uptime<86400) { // Valandos
$tmp=getTime($uptime);
$s1="up 0 days";
$s2=$tmp.":";
$uptime-=$tmp*3600;
$tmp=getTime($uptime);
$s2.=$tmp.":".getTime($uptime-($tmp*60));
} else {
$tmp=getTime($uptime);
$s1="up ".$tmp ." days";
$uptime-=$tmp*86400;
$tmp=getTime($uptime);
$s2=$tmp.":";
$uptime-=$tmp*3600;
$tmp=getTime($uptime);
$s2.=$tmp.":".getTime($uptime-($tmp*60));
}

$s0=shell_exec("hostname -d");
$s0=substr($s0, 0, strlen($s0)-1);
uptime ($s0, $s1, $s2);
?>

Jeigu turite idėjų, kaip visą tai atnaujinti brūkūtelėkite.

 

Flattr this!

Linux naudotojų skaičiuoklės projektas startavo 1993 metais. Šio projekto įkūrėjas Harald Tveit Alvestrand. Vėliau projektui besivystant jis peraugo į nepelno siekiančią organizaciją, kuri buvo registruota Norvegijoje 1999m. gegužės mėn. 1 d., kurios vadovu tapo Linux skaičiuoklės projekto įkūtėjas Harald Tveit Alvestrand. Projekto tikslas sužinoti apytikslų OS Linux paplitimą bei Linux ideologijos plėtra. 2007 metais buvo paskelbta paskutinė naujiena counter.li.org tinklalapyje.
Šis projektas buvo nebeatnaujintas jau daugiau nei ketveri metai. Dėl naujų sistemų atsiradimo bei senųjų sistemų atnaujinimo atsirado nesklandumų interpretuojant siunčiamus pranešimus sistemai. Taip pat verta nepamiršti, kad atsirado ir patobulėjo naujos technologijos ir atsirado poreikis perrašyti patį puslapio atvaizdavimo mechanizmą. Visą šį darbą apsiėmė daryti ir jam vadovauti Alexander Mieland.
Norėdami, kad Jūs būtumėt įskaičiuotas į Linux bendruomenę registruokitės adresu: linuxcounter.net/register.html. Kiekvienas užsiregistravęs gauna viešą internetinį puslapį, kuriame galima skelbti (ar neskelbti) informaciją apie save. O štai ir mano nuorodėlė BiG_NoBoDy. Vėliau aprašysiu visą naujo kompiuterio registravimo procesą.

Taip pat pridedu laišką gautą iš Alexander Mieland, bet jei jis prieštaraus aš jį pašalinsiu.

From - Thu Sep 22 23:01:08 2011
X-Account-Key: account15
X-UIDL: GmailId132733ae303c102d
X-Mozilla-Status: 1003
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To:
Received: by with SMTP id j6cs169924pbp;
Fri, 16 Sep 2011 10:13:52 -0700 (PDT)
Received: by 10.204.146.9 with SMTP id f9mr1861657bkv.385.1316193231764;
Fri, 16 Sep 2011 10:13:51 -0700 (PDT)
Return-Path: < >
Received: from ( . [x.x.x.x])
by mx.google.com with ESMTP id i3si5018600bke.79.2011.09.16.10.13.51;
Fri, 16 Sep 2011 10:13:51 -0700 (PDT)
Received-SPF: neutral (google.com: x.x.x.x is neither permitted nor denied by best guess record for domain of ) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=neutral (google.com: x.x.x.x is neither permitted nor denied by best guess record for domain of ) smtp.mail=
Received: from localhost (localhost [127.0.0.1])
by (Postfix) with ESMTP id B4081359C1BA
for < >; Fri, 16 Sep 2011 19:13:50 +0200 (CEST)
X-Quarantine-ID:
X-Virus-Scanned: Debian
X-Amavis-Alert: BAD HEADER, Improper use of control character (char 0D hex):
From: ...x Counter Project < >\r\n
Received: from ([127.0.0.1])
by localhost ( [127.0.0.1]) (blablabla)
with ESMTP id iXhHX1BjmIeC for < >;
Fri, 16 Sep 2011 19:13:48 +0200 (CEST)
Received: by blablabla
id 4DA3F359C116; Fri, 16 Sep 2011 19:11:21 +0200 (CEST)
To:
Subject: [LiCo] The New Linux Counter - Announcement - Data Update Reminder
From: The New Linux Counter Project < >
Reply-To: info@linuxcounter.net
X-Mailer: LinuxCounter.net - PHP
Message-Id: < >
Date: Fri, 16 Sep 2011 19:11:21 +0200 (CEST)

Hello BiG_NoBoDy

my name is Alexander Mieland and I'm the new manager of the Linux
Counter Project. Since I love statistics and because counter.li.org was
not developed at all since over four years, I've started to develop a
completly new and reworked project with the same but modernized design
and the same target.

Last week, Harald Alvestrand and I have decided that this new project
will be the New Linux Counter Project and replace the good old counter
of counter.li.org. The url of the new project is:
- http://linuxcounter.net

I've worked hard to develop the first version of this new project and
some days ago I've imported all active users from the old, original
database of counter.li.org.

I now want to ask you to come to the new project, to login with your
old, known access data and then to update your personal data and your
Linux machines.

- Your counter.li.org number is: 403332
- The url to the new project: http://linuxcounter.net

With this number and your password, you are able to also login to the
new project. If you don't know your password anymore, you will be able
to request a new password from the lost password page. To access this
page, you have to click on "Login". There you'll find the link to
the lost password page.

If you have problems accessing the new project or with the login, then
don't hesitate to contact me at alex@linuxcounter.net.

If you find a bug or have other problems with the project, then please
visit http://trac.linuxcounter.net, our new wiki and bugtracker.
So if you have found a bug or have feature requests or wishes, don't
hesitate to register on the wiki and file a ticket in the bugtracker.

Another possibility to discuss the new project, to ask questions and
report bugs or feature requests is our mailinglist. Please register
for our mailinglist by sending an email with "subscribe" in the body
to interest-request@counter.li.org. After registration you can
send your emails to interest@counter.li.org.

This new project now also has a twitter account! So please follow us:
- http://twitter.com/#!/NewLinuxCounter

And one more thing: We also have an rss 2.0 feed that shows you the
most recent changes and news and announcements from the project:
- http://linuxcounter.net/rss.php

So, please come to http://linuxcounter.net, login and update your data.

Thanks in advance!

Sincerely yours,

Alexander Mieland

http://linuxcounter.net

 

Flattr this!

 

Flattr this!

Sveiki,

Tikriausiai Jūs jau senokai įrašinėjate Windows 7 naudodami USB raktą… o aš tai dariau pirmą kartą…

Tam man reikėjo ms-sys programėlės bei Windows 7 atvaizdo.

Taip, pirma mums reikia parsipūsti ms-sys.
Išsipakuokime ir įsidiekime:


# kai buvo rašytas šis vedlys 2.2.1 buvo naujausia versija
wget http://downloads.sourceforge.net/project/ms-sys/ms-sys%20stable/2.2.1/ms-sys-2.2.1.tar.gz?r=http%3A%2F%2Fms-sys.sourceforge.net%2F\&ts=1311108133\&use_mirror=switch -O ms-sys-2.2.1.tar.gz
tar -axf ms-sys-2.2.1.tar.gz
cd ms-sys-2.2.1
make
# jei po šios komandos parašo:
make: msgfmt: Command not found
# mums reikia parsisiųsti gettext paketa komanda: aptitude install gettext tada per nauja make
make install


Dabar mes turėtume turėti visas būtinas programas mūsų linuxe.
visų pirma mums reikia susiformatuoti mūsų USB raktą.


cfdisk /dev/sdb


Čia pasirenkame taip, kad vienintelė particija būtų NTFS tipo ir būtų Active bei būtų pažymėta, kaip Bootable, to reikia, jei norime, kad kompiuteris pasikrautų iš USB rakto.
Toliau formatuojame particiją bei ją prijungiame:


mkfs.ntfs -f /dev/sdb1
mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb


Tuomet prijungiame Windows 7 ISO


mkdir /mnt/win7iso
mount -o loop /path/to/win7.iso /mnt/win7iso


Kopijuojame duomenis:


cp -r /mnt/win7iso/* /mnt/usb/


Įrašome įkrovos programėlę į USB:


ms-sys -7 /dev/sdb


atjungiame flęšą bei įrašome darkartelį:


umount /mnt/usb
sync
ms-sys -7 /dev/sdb
sync


Dabar galime atjungti USB laikmeną.
tik nepamirškite, padaryt, kad Jūsų kompiuteris krautųsi iš USB.

 

Flattr this!


sręsti Jums patiems

 

Flattr this!

&aacute;
&#225;
á

&Aacute;
&#193;
Á

&acirc;
&#226;

&Acirc;
&#194;

&acute;
&#180;

&aelig;
&#230;

&AElig;
&#198;

&agrave;
&#224;

&Agrave;
&#192;

&alefsym;

&alpha;

&Alpha;

&amp;

&and;

&ang;

&aring;
&#229;

&Aring;
&#197;

&asymp;

&atilde;
&#227;

&Atilde;
&#195;

&auml;
&#228;

&Auml;
&#196;

&bdquo;
&#8222;

&beta;

&Beta;

&brvbar;
&#166;

&bull;
&#8226;

&cap;

&ccedil;
&#231;

&Ccedil;
&#199;

&cedil;
&#184;

&cent;
&#162;

&chi;

&Chi;

&circ;
&#710;

&clubs;

&cong;

&copy;
&#169;

&crarr;

&cup;

&curren;
&#164;

&dagger;
&#8224;

&Dagger;
&#8225;

&darr;

&dArr;

&deg;
&#176;

&delta;

&Delta;

&diams;

&divide;
&#247;

&eacute;
&#233;

&Eacute;
&#201;

&ecirc;
&#234;

&Ecirc;
&#202;

&egrave;
&#232;

&Egrave;
&#200;

&empty;

&emsp;

&ensp;

ε

&epsilon;

Ε

&Epsilon;

&equiv;

η

&eta;

Η

&Eta;

ð

&eth;
&#240;

Ð

&ETH;
&#208;

ë

&euml;
&#235;

Ë

&Euml;
&#203;

&euro;
&#8364;

&exist;

ƒ

&fnof;

&#402;

&forall;

½

&frac12;
&#189;

¼

&frac14;
&#188;

¾

&frac34;
&#190;

&frasl;

γ

&gamma;

Γ

&Gamma;

&ge;

>

&gt;

&harr;

&hArr;

&hearts;

&hellip;

&#8230;

í

&iacute;
&#237;

Í

&Iacute;
&#205;

î

&icirc;
&#238;

Î

&Icirc;
&#206;

¡

&iexcl;
&#161;

ì

&igrave;
&#236;

Ì

&Igrave;
&#204;

&image;

&infin;

&int;

ι

&iota;

Ι

&Iota;

¿

&iquest;
&#191;

&isin;

ï

&iuml;
&#239;

Ï

&Iuml;
&#207;

κ

&kappa;

Κ

&Kappa;

λ

&lambda;

Λ

&Lambda;

&lang;

«

&laquo;
&#171;

&larr;

&lArr;

&lceil;

&ldquo;
&#8220;

&le;

&lfloor;

&lowast;

&loz;

&lrm;

&lsaquo;
&#8249;

&lsquo;
&#8216;

<

&lt;

¯

&macr;
&#175;

&mdash;

&#8212;

µ

&micro;
&#181;

·

&middot;
&#183;

&minus;

μ

&mu;

Μ

&Mu;

&nabla;

 

&nbsp;

&ndash;
&#8211;

&ne;

&ni;

¬

&not;
&#172;

&notin;

&nsub;

ñ

&ntilde;
&#241;

Ñ

&Ntilde;
&#209;

ν

&nu;

Ν

&Nu;

ó

&oacute;

&#243;

Ó

&Oacute;
&#211;

ô

&ocirc;
&#244;

Ô

&Ocirc;
&#212;

œ

&oelig;
&#339;

Œ

&OElig;
&#338;

ò

&ograve;
&#242;

Ò

&Ograve;
&#210;

&oline;

ω

&omega;

Ω

&Omega;

ο

&omicron;

Ο

&Omicron;

&oplus;

&or;

ª

&ordf;

&#170;

º

&ordm;
&#186;

ø

&oslash;
&#248;

Ø

&Oslash;
&#216;

õ

&otilde;
&#245;

Õ

&Otilde;
&#213;

&otimes;

ö

&ouml;
&#246;

Ö

&Ouml;
&#214;

&para;

&#182;

&part;

&permil;
&#8240;

&perp;

φ

&phi;

Φ

&Phi;

π

&pi;

Π

&Pi;

ϖ

&piv;

±

&plusmn;
&#177;

£

&pound;
&#163;

&prime;

&Prime;

&prod;

&prop;

ψ

&psi;

Ψ

&Psi;

&quot;

&radic;

&rang;

»

&raquo;
&#187;

&rarr;

&rArr;

&rceil;

&rdquo;
&#8221;

&real;
R

®

&reg;
&#174;

&rfloor;

ρ

&rho;

Ρ

&Rho;

&rlm;

&rsaquo;
&#8250;

&rsquo;
&#8217;

&sbquo;
&#8218;

š

&scaron;

&#353;

Š

&Scaron;
&#352;

&sdot;

§

&sect;
&#167;

­

&shy;
&#173;

σ

&sigma;

Σ

&Sigma;

ς

&sigmaf;

&sim;

&spades;

&sub;

&sube;

&sum;

&sup;

¹

&sup1;
&#185;

²

&sup2;
&#178;

³

&sup3;
&#179;

&supe;

ß

&szlig;
&#223;

τ

&tau;

Τ

&Tau;

&there4;

θ

&theta;

Θ

&Theta;

ϑ

&thetasym;

&thinsp;

þ

&thorn;
&#254;

Þ

&THORN;
&#222;

˜

&tilde;

&#732;

×

&times;
&#215;

&trade;
&#8482;

ú

&uacute;
&#250;

Ú

&Uacute;
&#218;

&uarr;

&uArr;

û

&ucirc;

&#251;

Û

&Ucirc;
&#219;

ù

&ugrave;
&#249;

Ù

&Ugrave;
&#217;

¨

&uml;
&#168;

ϒ

&upsih;

υ

&upsilon;

Υ

&Upsilon;

ü

&uuml;
&#252;

Ü

&Uuml;
&#220;

&weierp;

ξ

&xi;

Ξ

&Xi;

ý

&yacute;
&#253;

Ý

&Yacute;
&#221;

¥

&yen;
&#165;

ÿ

&yuml;
&#255;

Ÿ

&Yuml;
&#376;

ζ

&zeta;

Ζ

&Zeta;

 

Flattr this!

 

Flattr this!

Sveiki,

Nežinau kaip jums, bet man tenka panaršyt tokiuose vietose, kur nežinia ar saugu naršyti, ar galbūt tokius puslapius, kur nereikia, kad žinotų kad tai Jūs. Tokiu atveju, patogu pasinaudoti OpenSSH-server’io teikiamu socks srauto nukreipimu. Tam mums reikia turėti:

  • prisijungimą prie OpenSSH-server’iuko (pasiekiamo iš betkur)
  • putty arba ssh-client
  • IceWeasel ar FF browser‘į

Gaukime prisijungimą prie OpenSSH-server’io: shellmix.com

Užeikime į shellmix.com/ssh registraciją.

  1. Kai pasikrauna puslapis paspauskime ENTER
  2. Kai paraso: shellmix.com login: įrašome newuser
  3. Slaptažodis irgi: newuser
  4. Tuomet įrašome prisijungimo prie šios sitemos naudotojo vardą (nebūtinai tą patį kaip Jūs naudojate) pvz: testinguser
  5. Tuomet tris kartus įvedame savo kokį slaptažodį
  6. Įrašome savo email
  7. Paspaudžiame enter
  8. Pasirenkam kalbą: US
  9. Jei nieko nepraleidau, tai šioje vietoje prašys pasirinkti vhost: shell
  10. Tuomet pasirenkam hdd1
  11. sutinkam su viskuo, jei kas blogai tai bandykite aiškintis kaip pasitaisyti :) aš tingiu :) ir mygiame ENTER

Prisijungimas prie OpenSSH-server

Linux

Taigi dabar beliko prisijungti prie openssh-server’io… Neskubėkit, besijungiant prie ssh serverio reikia nepamiršti, nurodyti papildomą parametrą.
Taigi jei aš pagal nutylėjimą jungiuosi prie openssh-server ssh -l username hostname tai šiuo atveju turėčiau jungtis:


ssh -l username -D 9999 hostname

Windows

Deja, jei Jūs naudojate WINDOWS operacinę sistemą, Jūs deja neturite tiek daug džiaugsmo ir privalote praleisti daugybe laiko ieškodami programų ar sprendimų į Jums iškilusią problemas… tokiu atveju aš padėsiu Jums pataupyti laiko kitiems ieškojimams ir pasakysiu: PuTTy’ę galite parsisiųsti iš ČIA! Šios programos diegtis/install’iuoti net nereikia! Afigenčik ane? :) taigi, pasileiskim ją.
Į laukelį Host įrašome savopasirinktą prisijungimo vardą.shellmix.com pvz: testinguser.shellmix.com
Port palikim 22
PuTTY Configuration session
Tuomet randame kairiame stulpelyje Connection ir jo viduje (kairiame šone esančiame stulpelyje) turi būti SSH išskleiskime jį, paspauskit pliusiuką. ir ten rasite Tunnels
Source port įrašykite 9999 ir pasirinkite Dynamic.
Tuomet paspauskite Add.
PuTTY Configuration tunnels
Grįškime į pradžią ir išsisaugokim, šiuos nustatymus, kad butų naudojami pagal nutylėjimą tam mums reikia grįšti į patį viršutinį kairiojo meniu punktą Session ir pasirinkti pelyte Default Settings ir paspausti Save
PuTTY Configuration session save Default Settings

Naršyklės nustatymai

P.S. Jei norite, kad puslapis nežinotų, kad Jūs dar kažkaip kitaip jungiatės prie jo, tai su ja nesijunkite prie jo daugiau, junkitės per kitą naršyklę.

Tuomet naršyklėje einu į punktą Edit -> Preferences. Tuomet pasirenku tab’us Advanced -> Network. Ten Settings ir pasirenku radio button’ą Manual proxy configuration ir į SOCKS Host įrašome 127.0.0.1, o Port’ą nurodome tuos pačius keturis devynetus. Pasirenkame SOCKS v5, nors SSH (šiuo metu 2010-10-21 OpenSSH v5.1p1) palaiko v4 ir v5. Ir į No proxy for: įrašome savo lokalius tinklus ir jei reikia savo kompiuterį.

Jei norite paslėpti nuo lokalaus admino kus jūs lankotės tai jums reik sekti ir šiuos nustatymus:

Atrodytų viskas… heh, ogi nieko panašaus… Žinot kas dabar lieka ten kur jūs naudojate savo naršyklę? O taip DNS! Heh, pasitikrinkit su wireshark filtruose nurodant port 53. Kaip gi apeiti šį blogį? Kam to reik? kad mūsų nemestu į netikrus puslapius ir iš mūsų neišžvejotų mūsų slaptažodžių. Taigi… Atsidarykite Mozillos produktą ir adreso laukelyje įrašykite about:config ten į filtrą įveskite:socks_remote_dns ir vienintelį (tikriausiai) likusį variantą doubleclick’inkite. jis turėtų pakeisti reikšmę į true. Psio.

Papildyta iš: SSH – saugus ir slaptas naršymas internete

 

Flattr this!

Sveiki, pasiemiau Mezon’o nauja modemuka, ziuresim, su planu po 19lt/men. he he :) kompiliuosiu draiveriukus sian vakare…

© 2012 LPIC - Linux Professional Institute Certification Suffusion theme by Sayontan Sinha