rxtx communication between 2 arduinos

Hello, just started with arduino and i got problem with my project.
Its simple i want to send data from one to second board. (for example here - when i send anything on Serial on my first device want to set high on pin 5 on second board)
On my first board i got code (just read Serial and write it to second board)

#include <SoftwareSerial.h>
  SoftwareSerial ss(2, 3);
void setup()
{
  ss.begin(9600);
  Serial.begin(9600);
}
void loop()
{
  while (Serial.available() > 0) {
    ss.write(Serial.read());
  }
}

on second board i got

void setup() {
pinMode(5, OUTPUT);
Serial.begin(9600);
}

void loop() {
 while (Serial.available() > 0) {
  digitalWrite(5, HIGH);
delay(1000);
  digitalWrite(5, LOW);
delay(1000);
}
}

but... its not working.
No idea why (btw. when i send anything on serial monitor from 1st board i see that rx led on first and tx on second board are lightning)

ofc i connected rx -> tx, tx -> rx
Please help ;(
Sorry for bad eng.

Have you a connection between GND on the two Arduinos? (you should have)

Never put obstacles (like delay()) in a receiving program. It should be listening all the time.

And it would be a good idea to ensure the sending program has a reasonable interval between sending messages. If you are controlling that with the interval between entering data in the Serial Monitor that is probably sufficient.

Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

...R